You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Janne Jalkanen (JIRA)" <ji...@apache.org> on 2009/02/15 14:00:59 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=12673611#action_12673611 ]
Janne Jalkanen commented on JSPWIKI-503:
----------------------------------------
Yup, I think this is a bug. However, the patch will fail with 8 or more consecutive dashes. I think it should just eat *all* the dashes and not stop at eight.
I think this is valid for 2.8.2.
> 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
> Fix For: 2.8.2, 3.0
>
> 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.