Opened 13 years ago
Closed 8 years ago
#10236 closed defect (worksforme)
Trailing !'s break the // italic formatting markup
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | wiki system | Version: | 0.12dev |
Severity: | minor | Keywords: | markup italic bang exclamation |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Found this in both the .12 and .13 demo sites.
Quite exciting italicises correctly.
Very exciting// doesn't drop out of italics; the trailing slashes are visible and the rest of this line is in italics.
Couldn't find a reference to this is the formatting page. Is it some quirk of formatting/not-a-bug?
Attachments (0)
Change History (7)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
I think this is by design and documented for example in WikiFormatting#FontStyles:
- ! tells wiki parser to not take the following characters as wiki format, so pay attention to put a space after !, e.g. when ending bold.
comment:4 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:5 by , 8 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
That only helps if it doesn't end up creating a space in a visible place - like before a close quote. e.g.:
- Acceptable! I can live with this.
- "Unacceptable! " This looks wrong.
comment:6 by , 8 years ago
''"Inside!"''
→ "Inside!": Can you live with moving the quotes inside the italics?*''Zerowidthspace!<ZWSP>''"
→ "Zerowidthspace!": Alternatively you can put a Zero-width space there.
comment:7 by , 8 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
That behavior is by design. Put a space after exclamation.
Please ask on the mailing list or IRC channel if you want supports.
Huh. Obviously that doesn't make much sense if you can't see the source code of the comment.
It should be : Very exciting<exclamation mark>