You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2009/02/15 13:48:59 UTC
[jira] Updated: (JSPWIKI-503) InsertPage plugin carries dashes from
section breaks into output
[ https://issues.apache.org/jira/browse/JSPWIKI-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harry Metske updated JSPWIKI-503:
---------------------------------
Attachment: JSPWiki-503.patch
Well, the documentation (http://www.jspwiki.org/wiki/TextFormattingRules) indeed says:
??---- = make a horizontal ruler. Extra '-' is ignored.??
We could "eat" the additional dashes with the attached patch, would that be the correct approach ?
> InsertPage plugin carries dashes from section breaks into output
> ----------------------------------------------------------------
>
> Key: JSPWIKI-503
> URL: https://issues.apache.org/jira/browse/JSPWIKI-503
> Project: JSPWiki
> Issue Type: Bug
> Components: Plugins
> Affects Versions: 2.8
> Reporter: Jonathan Sobel
> Priority: Minor
> Attachments: JSPWiki-503.patch
>
>
> When using the "section" parameter to the InsertPage plugin, the sections are delimited with horizontal rule lines. In the wiki markup source, the minimal number of hyphens to create a rule line is 4, I believe, but it is OK to use more hyphens. Any number greater than or equal to 4 creates the HR line.
> Unfortunately, the InsertPage plugin with the "section" parameter eats EXACTLY 4 hyphens and copies the rest into the output, leaving meaningless marks in the visible wiki page.
> The only workaround is to go through your source pages and make sure your users typed EXACTLY 4 hyphens where they wanted section breaks. Not pleasant.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.