textile/php-textile

Extra space after em

Closed this issue · 2 comments

Prerequisites

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

Problematic Textile markup

Textile (current version) seems to add a space after <em> rendering HTML tag. Try:
_word_,

Expected output

<em>word</em>,

Actual output

<em>word</em> ,

Used PHP code

{Please write here}

Additional information

PHP-Textile version: latest
PHP version: 7.4

gocom commented

I can not produce this directly. Input:

word,

Generates HTML:

<p><em>word</em>,</p>

You're right. Sorry...
Closed.