[vote] Should emphasizing radeox filters ignore spaces?
Hello, Should the following work, too? A * bold * word In my opinion, for the filter to work, the bold markers should not be separated by spaces from the text, like: A *bold* word This reduces the misinterpretations of the filter (two bolds on the same row, http://jira.xwiki.org/jira/browse/XWIKI-333 ), eliminates the confusion between bold and lists: * is this bold, * or is it a list with an asterisk? The same for italics and underline. The radeox filter rules can be easily changed, but the wysiwyg editor must put the filter markers not exactly at the selection start/end, but at the nearest character.
+1 for *bold* and for * bold * not working (i.e. when there are spaces after and before the star). Same for italics and underline. Does it mean it was working like this before? If so then we’ll need a warning somewhere in the release notes (not to be forgotten – should be added to the issue for releasing b2/rc1/1.0 – I think there’s an issue already). Thanks -Vincent From: Sergiu Dumitriu [mailto:[email protected]] Sent: lundi 1 janvier 2007 15:02 To: [email protected] Subject: [xwiki-dev] [vote] Should emphasizing radeox filters ignore spaces? Hello, Should the following work, too? A * bold * word In my opinion, for the filter to work, the bold markers should not be separated by spaces from the text, like: A *bold* word This reduces the misinterpretations of the filter (two bolds on the same row, http://jira.xwiki.org/jira/browse/XWIKI-333 ), eliminates the confusion between bold and lists: * is this bold, * or is it a list with an asterisk? The same for italics and underline. The radeox filter rules can be easily changed, but the wysiwyg editor must put the filter markers not exactly at the selection start/end, but at the nearest character.
Does it mean it was working like this before? If so then we'll need a warning somewhere in the release notes (not to be forgotten – should be added to the issue for releasing b2/rc1/1.0 – I think there's an issue already).
Yes, it used to work before, but I think I accidentally committed the filter changes a while ago. This is why Trevor Cox reported this for B1: 2) In the WYSIWYG editor, if I highlight a word and include a leading space
(ie " word") and then format as bold, the result will be "* word*" instead of bold text. It works fine if there is no leading text.
+1 for the space not working.. This would create a problem with lists as a list is "* " and then some text Ludovic Vincent Massol a écrit :
+1 for **bold** and for * bold * not working (i.e. when there are spaces after and before the star). Same for italics and underline.
Does it mean it was working like this before? If so then we’ll need a warning somewhere in the release notes (not to be forgotten – should be added to the issue for releasing b2/rc1/1.0 – I think there’s an issue already).
Thanks
-Vincent
*From:* Sergiu Dumitriu [mailto:[email protected]] *Sent:* lundi 1 janvier 2007 15:02 *To:* [email protected] *Subject:* [xwiki-dev] [vote] Should emphasizing radeox filters ignore spaces?
Hello,
Should the following work, too? A * bold * word In my opinion, for the filter to work, the bold markers should not be separated by spaces from the text, like: A *bold* word
This reduces the misinterpretations of the filter (two bolds on the same row, http://jira.xwiki.org/jira/browse/XWIKI-333 ), eliminates the confusion between bold and lists: * is this bold, * or is it a list with an asterisk?
The same for italics and underline.
The radeox filter rules can be easily changed, but the wysiwyg editor must put the filter markers not exactly at the selection start/end, but at the nearest character.
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost AIM: nvludo Yahoo: ludovic
participants (3)
-
Ludovic Dubost -
Sergiu Dumitriu -
Vincent Massol