Skip to content

A notextile @ sign entered as == @ == renders a mysterious textileRef:49562390965819c5ae4dc5:1:shelve in the output HTML. #223

@rwetzlmayr

Description

@rwetzlmayr

Prerequisites

  • Are you running the latest version of PHP-Textile?
  • $ composer update?

Expected behaviour

Use "lorem(dolor == @ == sit)":#ipsum as Textile input.
The rendered HTML is <p><a href="#ipsum" title="dolor @ sit">lorem</a></p>

Actual behaviour

Use "lorem(dolor == @ == sit)":#ipsum as Textile input.
The rendered HTML is <p><a href="#ipsum" title="dolor textileRef:49562390965819c5ae4dc5:1:shelve sit">lorem</a></p>

Steps to reproduce

I am trying to include a literal @ character in the title attribute of a link. An unescaped @ character would introduce a <code> element, so I try to escape this @ character with the == notextile sequence.

Entering the Textile phrase "lorem(dolor == @ == sit)":#ipsum into the blank Textile input box at https://textile-lang.com/doc produces an unexpected HTML output including a textileRef:49562390965819c5ae4dc5:1:shelve chunk

Additional information

PHP-Textile version: The current version employed at https://textile-lang.com/
PHP version: The current version employed at https://textile-lang.com/

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions