Thread: Spoiler BBCode
View Single Post
  #2  
Old 07 Jul 2017, 23:46
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
The code seems fine in most cases but if the spoiler text has single quotes in it, then the Javascript would break and would cause the "Verberg" to not show up. And if the spoiler text has double quotes in it, then it would totally break the functionality of the BBCode.

I have the same BBCode on my site and it doesn't have this issue.
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote