Edgewall Software
Modify

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 anonymous, 13 years ago

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>

comment:2 by psuter <petsuter@…>, 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:3 by anonymous, 13 years ago

Clearly, I'm an idiot.

comment:4 by anonymous, 13 years ago

Resolution: invalid
Status: newclosed

comment:5 by anonymous, 8 years ago

Resolution: invalid
Status: closedreopened

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 anonymous, 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 Jun Omae, 8 years ago

Resolution: worksforme
Status: reopenedclosed

That behavior is by design. Put a space after exclamation.

Please ask on the mailing list or IRC channel if you want supports.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.