SgDotNet
Singapore Professional .NET User Group -For Cool Developers

Editing blog posts with html

Latest post 07-20-2005 1:21 PM by icelava. 2 replies.
  • 07-05-2005 3:29 PM

    • hannes
    • Top 25 Contributor
    • Joined on 05-04-2004
    • South Africa
    • Posts 240

    Editing blog posts with html

    There is an annoying problem with posts containing html code samples, or perhaps anything with a less-than sign.

    For example, it quite possible to make a post containing the text [SCRIPT] (with less-than/greater-than brackets). In the html view, the less-than sign would be correctly escaped as "& lt;".

    However, when the post is edited, the editor loads the escaped less-than sign as a plain less-than sign in html view.

    So every time a post containing less-than signs is edited, a whole lot of manual editing in html view is required.

  • 07-06-2005 8:26 PM In reply to

    • hannes
    • Top 25 Contributor
    • Joined on 05-04-2004
    • South Africa
    • Posts 240

    Re: Editing blog posts with html

    Is this the correct forum to post a bug report in btw?

    The reason that this is an annoying bug is that edits will be a definite in articles. In an article with about 10 less-than signs that you have to edit a week later, all 10 less-than signs would have to be found and corrected. If you miss 1 and only correct 9 of them, you would have to edit the post and correct all 10 again.  It is not a simple search-and replace because some tags are meant to be html but others not.

    I don't know what the cause is but it seems like some filter somewhere is incorrectly converting &lt; to < when loading a post into the text editor.

    Try it now, make a post with the text "&lt;" and then edit it.

  • 07-20-2005 1:21 PM In reply to

    Re: Editing blog posts with html

    I am sorry won't be able to commit myself into this matter for this period. You may wish to look up communityserver.org forums and see if there is already a fix for this. Thanks.

    The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral

Page 1 of 1 (3 items) | RSS
Copyright SgDotNet 2004-2008
Powered by Community Server (Commercial Edition), by Telligent Systems