in reply to Re: Re: How to update a node?
in thread How to update a node?

As I just mentioned in Re: XML-style readmore not being parsed (no kidding), don't put READMORE inside of CODE tags as it doesn't always prevent it from being magic (at least not currently). You'll probably think that it works because you'll be looking directly at the node which means that the READMORE isn't processed. Sucks, doesn't it?

You can write <code><read</code><code>more></code> (which I was able to display by writing <code><code><read</co</code><code>de><code>more></co</code><code>de></code>) if you really hate using &lt; or you can write <READ MORE> or <READ­MORE> (though the first will confuse newbies and the second has already confused you -- look closer) or <tt>&lt;readmore></tt> (if you want it to look like you used CODE tags) or any of several other things but not < READMORE > because, although it isn't processed as a READMORE tag, it is not escaped because it is considered an allowed HTML tag so that you can "view source" in order to see READMORE tags when looking directly at nodes (as theorbtwo mentioned).

Note that the chatterbox does not process READMORE so you can write <code><readmore></code> there. But you can also just write <readmore> and it will be escaped for you (so that it appears) because it isn't an allowed HTML tag in the chatterbox.

Update: This has now been fixed. You can put <readmore> inside of <code> tags. Thanks, demerphq. Now to update the site documentation as well...

                - tye (got all that?)

Thanks to theorbtwo for telling me that I had one of my <readmore>s unprotected inside of <code> tags. (:

Replies are listed 'Best First'.
Re^4: How to update a node? (readmore in code)
by demerphq (Chancellor) on May 10, 2005 at 07:17 UTC

    This has

    <readmore>

    been fixed. (This was the test :-)

    ---
    $world=~s/war/peace/g