Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-alpha-9
-
Fix Version/s: 1.1
-
Component/s: Module - Twiki
-
Labels:None
-
Number of attachments :
Description
TWiki formatting rules (http://twiki.org/cgi-bin/view/TWiki/TextFormattingRules) state that html tags may be included in a Twiki Page. In some cases, this is required to achieve certain effects. See the description of Verbatim Mode, where it says that <pre>...</pre> should be used in certain cases.
However, when running the mvn site on .twiki files, all "<" and ">" are replaced by "<" and ">
Steps to reproduce:
Create a maven site project.
Add a .twiki file with the following content:
---+ Twiki test
<pre>
Hello
Hello
</pre>
After the site has been generated, no <pre> tags will exist instead the following will be shown:
<pre>Hello Hello</pre>
Issue Links
- is related to
-
DOXIA-441
HTML tags produce undefined behavior on the TWiki parser
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Summary | HTML tags not rendered correctly | HTML tags in twiki not rendered correctly |
| Assignee | Vincent Siveton [ siveton ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 1.0-beta-1 [ 13617 ] | |
| Resolution | Fixed [ 1 ] |
Sorry, I did not realize when I enter HTMLCHARs such as < ; > ; they will be rendered as symbols in JIRA.
Thus the last line from above is displayed differently than I expected. It should be as follows:
After the site has been generated, no <pre> tags will exist instead the following will be shown:
< ;pre> ;Hello Hello< ;/pre> ;