On Wed, Dec 17, 2008 at 1:18 AM, Thomas Mortagne
<[email protected]>wrote:

> Hi devs,
>
> We have an issue in the XWiki renderer when the XDOM contains a bold
> starting with a space at the beginning of a line. For example when we
> get an html containing <p><strong>&nbsp;some bold text</strong></p> in
> the office importer.
>
> In that case currently we lost the bold when rendering because one or
> more stars followed by a space is a list in XWiki syntax.
>
> I see two solutions:
>
> 1) Escape the first space in a verbatim block : **{{{<space>}}}some bold
> text**
> 2) Move the first spaces before the bold block: <space>**some bold text**
> 3) Remove all the first spaces of the bold block: **some bold text**
>
> I would prefer 1) because it's the only one which is really the same
> thing than the input but I think 2) is better for most users because
> it's less disturbing for something which is not really that important.
> I listed 3) because it's easier to implement than 2).
>
> WDYT ?
>
> Here is my +1 for 2) and +0 for 1) and 3)


+1 for 2)

- Asiri


>
>
> --
> Thomas Mortagne
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to