Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
Description
There is a new convention on how and when should styling filters, like __underscore__ and *bold*, should work.
We define a marker as a formating symbol, like _ for underline and - for strike. We define the marked text as the content being formated, "underlined" in "__underlined__".
- Q: What hapens if there are more markers than specified, like ~~~italics~~~?
- A: After studying the behavior of other wiki engines, we decided that the extra markers will be included as marked text, i.e. "~~~italics~~~" will become "<i>~italics~</i>". Fixed behavior
- Q: What happens if there are spaces between the markers and the marked text?
- A: The filter should not be applied, i.e. "is this * bold * or not" should remain unformatted. Changed behavior
- Q: What characters are required before and after the markers?
- A: The previous behavior was completely inconsistent. Bold required spaces, italics didn't have any requirements, strike forbade '-' and 'Unable to render embedded object: File ('. Now, all filters work without any requirements, except strike, which still forbids ') not found.' before the filter. Fixed behavior
Attachments
Issue Links
- blocks
-
XWIKI-672 Filter underline text is not flexible
- Closed