Trix: Bug: additional <br> is created if the value ends with <br>

Created on 19 Mar 2016  路  2Comments  路  Source: basecamp/trix

in this example one additional <br> is created at the end of the value
https://jsfiddle.net/antpaw/r6bvoqyL/

in this example no additional <br> is created at the end of the value
https://jsfiddle.net/antpaw/tcqacact/

I think it should be consistent and I like the way second example works better.

stale

Most helpful comment

the last example was wrong, this is the example that doesn't create an additional
because it ends with a letter.

https://jsfiddle.net/antpaw/tcqacact/1/

All 2 comments

the last example was wrong, this is the example that doesn't create an additional
because it ends with a letter.

https://jsfiddle.net/antpaw/tcqacact/1/

This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pars0097 picture pars0097  路  4Comments

radcliff picture radcliff  路  5Comments

javan picture javan  路  4Comments

acapro picture acapro  路  3Comments

divyenduz picture divyenduz  路  3Comments