[RSS Feed/News] Editor insertSpoiler does not correctly handle formatting

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
When using the 'insert spoiler' (and bb-code which uses wrapSelectionText) this can result in unexpectedly broken bb-code.

Given this bb-code in the rich-text editor:
line1
line2
line3
line4

Drag-select line2/line3, and select insert spoiler.

This will result in the following html:
<p>line1</p
<p><strong>
line2</strong></p>
<p>line3
</p>
<p>line4</p>

This generates the following bb-code:
line1
line2
line3
line4

Which is rendered as...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom