YAFLogo

BWG
  • BWG
  • 100% (Exalted)
  • YAF Lover Topic Starter
3 months ago
Not sure if it is intentional behaviour, but when a post is quoted the br tags are removed from it. Can this be prevented? In initially thought the CleanHtmlStrings() method was doing this, but it happens earlier.
Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
3 months ago
This is an issue inside the SCEditor issue will be fixed in YAF 3.2.6
BWG
  • BWG
  • 100% (Exalted)
  • YAF Lover Topic Starter
3 months ago
Thanks. As a workaround I modified the regex in YetAnotherForum.NET\Scripts\sceditor\formats\bbcode.js to stop line breaks being stripped out in quotes. It now looks like:

​regex: /^([^\[]+|\[)/ }, { type: E, regex:/^(\r\n|\r|\n)/ }
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
3 months ago
You do not need a workaround. just download the updated js files from the repository