Thanks Blasty
Yeah the smileys have been a problem ever since I can remember. The best I could do was make a toggle for them. I may have another crack at detecting them in links but it's tricky since the link is broken by the smiley and thus not detected as a link. I have had partial success but nothing reliable enough to use.
The youtube URL encoding I'll look at sometime, as you say on submit might be a good place to handle that. Youtube URLs have been one of my single biggest headaches tbh. I have to define rules to identify them and the length is one of those rules, encoding is going to really mess with that. I fear I wont be able to make a one size fits all solution. As I say I'll look into it sometime but I don't know how it will go.
As for the data attribute (like Jagex use) I have no problems with that. However I verify it's an image before embedding anyway (the spoiler was an oversight). As soon as I did for the spoiler it basically filters out anything that's not an image.
Not sure why the quotes in the spoiler URL are messing with it. I'll take a look at that soon. The spoiler system needs a complete rework, it was literally tacked on ages ago. When I did version 3 I didn't change it, I just threw it in as it was. It's been bothering me for a while. I think it's time to redo it from scratch.
As always your help is simply awesome. I just hope you know how much I appreciate your help
10-May-2014 10:40:58
- Last edited on
10-May-2014 10:53:40
by
Indecent Act