Ticket #741 (closed enhancement: fixed)
support <hr> syntax directly in wiki-formatted content
| Reported by: | EricShulman | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | trivial | Milestone: | 2.4.2 |
| Component: | core | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
Similar to TW's native support for the <br> syntax (which permits display of line breaks within line-mode content such as table cells and bullet items), native support for the <hr> syntax would allow horizontal rules to be included within line mode content, without having to resort to using <html><hr></html>.
To achieve this, the existing 'rule' formatter needs a very minor tweak. The current 'match' pattern for this formatter is:
^----+$\\n?
To recognize "<hr>" (and "<hr />"), change this to:
^----+$\\n?|<hr ?/?>\\n?
Note: this change has been successfully implemented on TiddlyTools?. See http://www.TiddlyTools.com/#CoreTweaks
Change History
Note: See
TracTickets for help on using
tickets.
