Menu

#3 Prevent <pre>-tags form stacking

open
nobody
None
5
2009-03-07
2009-03-07
manuthie
No

If you write something like the following into a wiki article it doesn't look like expected because the middle line will get an additional <pre id='intended'></pre> section:

<code><pre>
if (500/5 == 100) {
doSth();
}
</pre></code>

This makes the <pre>-tag pretty much useless. I modified the IntendedFilter-Class so it wont stack <pre>-tags.

Discussion

  • manuthie

    manuthie - 2009-03-07

    Fixed IntendedFilter

     
  • manuthie

    manuthie - 2009-03-07

    Ok, the line with doSth(); is supposed to be indented.

     
  • rico_g

    rico_g - 2009-03-12

    Awesome! Thanks for helping out. I will include your change in the next release.

    Ciao,
    Rico.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.