#50 Escaping of <> in structured text

feature request
closed-invalid
nobody
None
5
2014-08-14
2002-01-17
N Padgen
No

When a structured text file contains HTML
or XML markup, this is passed straight
through to the documentation.

This causes problems when using DocBook as
an output format.

It would be very useful to have an option
to get < and > replaced by <
and > (and probably & replaced by
&)

Discussion

  • N Padgen

    N Padgen - 2002-01-17

    Logged In: YES
    user_id=430105

    That last paragraph probably should read

    It would be very useful to have an option
    to get < and > replaced by <
    and > (and probably & replaced by
    &)

     
  • Anonymous - 2002-08-21

    Logged In: YES
    user_id=83322

    I'm not sure this is the same problem here. I DO want to be
    able to include HTML in my StructuredText comments. Adding a
    little sketch along with the description of a script might
    be useful.

    However, anything with < or > are converted to those <
    and >

    Also the double quote " ends up as "

    A simple <i>this is italic</i> (which is pretty stupid with
    the StructuredText equivqlent being available) ends up in
    the generated doc as <i>this is italic</i>

    Of course, the browser displays exactly those symbols
    <i>this is italic</i> which is obviously not the result I
    was expecting.

    Can someone confirm this is the same issue or not ? I'm not
    sure I correctly understand the bug description.

     
  • Doug Hellmann

    Doug Hellmann - 2002-08-24

    Logged In: YES
    user_id=34486

    It is possible to use the htmlQuoteText formatter option on
    the command line to turn this behavior on/off.

     
  • Doug Hellmann

    Doug Hellmann - 2002-08-24
    • status: open --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks