Issue Details (XML | Word | Printable)

Key: XWIKI-674
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Sergiu Dumitriu
Reporter: Sergiu Dumitriu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XWiki Core

New emphasizing filters convention

Created: 04/Jan/07 15:33   Updated: 08/May/07 22:04
Component/s: Wiki features
Affects Version/s: None
Fix Version/s: 1.0 B2

Issue Links:
Dependency
 

Resolution Date: 04/Jan/07 15:38


 Description  « Hide
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


 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.