<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2009-04-10:30813</id>
  <title>Dreamwidth Development Training</title>
  <subtitle>Dreamwidth Development Training</subtitle>
  <author>
    <name>Dreamwidth Development Training</name>
  </author>
  <link rel="alternate" type="text/html" href="https://dw-dev-training.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://dw-dev-training.dreamwidth.org/data/atom"/>
  <updated>2009-05-27T00:01:10Z</updated>
  <dw:journal username="dw_dev_training" type="community"/>
  <entry>
    <id>tag:dreamwidth.org,2009-04-10:30813:2416</id>
    <author>
      <name>foxfirefey</name>
    </author>
    <dw:poster user="foxfirefey"/>
    <link rel="alternate" type="text/html" href="https://dw-dev-training.dreamwidth.org/2416.html"/>
    <link rel="self" type="text/xml" href="https://dw-dev-training.dreamwidth.org/data/atom/?itemid=2416"/>
    <title>Bug 858 fix walkthrough: Private messages strip (rather than escape) HTML </title>
    <published>2009-05-25T06:59:07Z</published>
    <updated>2009-05-27T00:01:10Z</updated>
    <category term="bug 858"/>
    <category term="walkthroughs"/>
    <category term="bug walkthrough"/>
    <dw:security>public</dw:security>
    <dw:reply-count>11</dw:reply-count>
    <content type="html">Posted by: &lt;span lj:user='foxfirefey' style='white-space: nowrap;' class='ljuser'&gt;&lt;a href='https://foxfirefey.dreamwidth.org/profile'&gt;&lt;img src='https://www.dreamwidth.org/img/silk/identity/user.png' alt='[personal profile] ' width='17' height='17' style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /&gt;&lt;/a&gt;&lt;a href='https://foxfirefey.dreamwidth.org/'&gt;&lt;b&gt;foxfirefey&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is a walkthrough for how I tackled &lt;a href="http://bugs.dwscoalition.org/show_bug.cgi?id=858"&gt;Bug 858   -  Private messages strip (rather than escape) HTML&lt;/a&gt;.  I'm not a very experienced DW developer, so you're going to see me do a lot of bumbling around as I try to figure things out.  But, I'm going to document all of my wrong turns and head scratchings in the hopes that seeing the whole process laid out from start to finish might help people who aren't sure how to go about things.  I will note ahead of time that some of the issues I run into won't happen to people on Dreamhacks--they're due to my setup not being completely right.&lt;br /&gt;&lt;br /&gt;To be honest, this walkthrough is a bit advanced and best suited for people already comfortable with the command line and coding.  I'm going to do another one soon and hope that it doesn't go as awkwardly as this one did.&lt;br /&gt;&lt;br /&gt;Table of contents:&lt;ol&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#preparation"&gt;Preparation&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#finding"&gt;Finding the relevant code to make changes on&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#changes"&gt;Making the changes&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#testing"&gt;Testing&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#troubleshooting"&gt;Troubleshooting&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#evaluation"&gt;Patch evaluation and clean up&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#submitting"&gt;Submitting the patch&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#hindsight"&gt;Hindsight&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#lessons"&gt;Lessons Summary&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dw-dev-training.dreamwidth.org/2416.html#notes"&gt;Notes Summary&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://dw-dev-training.dreamwidth.org/2416.html#cutid1"&gt;The Walkthrough&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I hope this has been a useful walkthrough of the process of bug fixing and banging your head against things until they work.  If anybody has questions about the contents here, or suggestions about things I should have done differently, feel free to comment!&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=2416" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
