[geeklog-devel] The Story Re-Write

Michael Jervis mjervis at gmail.com
Wed Feb 20 02:02:31 EST 2008


OK,

Seems I got myself turned around and reversed, seem to have "fixed"
the opposite problem to the one I had in the re-write, then tested the
opposite of the opposite and thought it was all OK. So, today, I get
to un-do yesterday and fix the right thing. In order to do this I'm
ensuring I have a proper test story, so, this is what I have, can
anyone thing of anything else I should include?

Title: The Official Story Re-Write Test Story - HTML Posting
Intro & Body Text:
<p>This is a section of HTML, in which case the paragraph tag should
make it a paragraph, this should be <b>bold</b> and <i>italic</i>. Any
< invalid markup should be removed >. If I want a set of html braces,
I must escape them myself as follows < > the same as things like
ampersands (& sorted and & turning into an actual ampersand)</p>

<p>[raw]This is a section of RAW which should be treated like code,
only kept inline. So, &, < and > should show as typed in the
editor. As should & and < and >. In the editor & should NOT turn
into &amp;, sorry Dirk![/raw]</p>

[code]This is a section of CODE which should be treated like the
above, only not kept inline. So, &, < and > should show as
typed in the editor. As should & and < and >. In the editor &
should NOT turn into &amp;, sorry Dirk![/code]

<p>To complete things, here is a straight forward para, followed by a
javascript code clip that Rob raised as having been an example of some
other historic (I hope!) issues:</p>

[code]<eventhandler type="beginprocess">
   <script type="javascript">

       // your code here \

   </script>
</eventhandler>[/code]

<p>There, did it all work?</p>


I've got raw, code, html sections, slashes in both directions, valid
tags, invalid tags. I think that's everything covered. I'm going to
run it through the code after backing out yesterdays convoluted [raw]
and [code] edit escaping fiasco and see what /really/ needs doing.

-- 
Michael Jervis
mjervis at gmail.com
504B03041400000008008F846431E3543A820800000006000000060000007765
62676F642B4F4D4ACF4F0100504B010214001400000008008F846431E3543A82
0800000006000000060000000000000000002000000000000000776562676F64
504B05060000000001000100340000002C0000000000



More information about the geeklog-devel mailing list