Defect #8395

Tags start with 'pre' are handled as 'pre' tag in Textile

Added by Joe Kandaba over 7 years ago. Updated 11 days ago.

Status:NewStart date:2011-05-18
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:Candidate for next minor release
Resolution: Affected version:1.1.3

Description

If you use < and > in your wiki you might have something like:

<previous> <next> etc...

As you can see above the < previous > is handled as < pre > which i think should not be the case and is a bug in the parser.

pre-parse-bug@2x.png (6.05 KB) Go MAEDA, 2018-10-06 01:48


Related issues

Related to Redmine - Defect #7375: <pre> ... </pre> doesn't escape wiki syntax correctly Closed 2011-01-19
Related to Redmine - Defect #7309: '<pre/>' tag New 2011-01-12

History

#1 Updated by Etienne Massip over 7 years ago

  • Category changed from Wiki to Text formatting
  • Target version set to Candidate for next minor release

#2 Updated by Go MAEDA 11 days ago

  • File pre-parse-bug@2x.png added
  • Subject changed from Parsing of pre tag in wiki is buggy to Tags start with 'pre' are handled as 'pre' tag in Textile
  • Description updated (diff)

This old bug is still alive in Redmine 4.0 under development.

"preeeee" in the following text is misrecognized as "pre".

<preeeee>
aaaaaaa
</preeeee>

#3 Updated by Go MAEDA 11 days ago

  • Description updated (diff)

Also available in: Atom PDF