Re: 2.0.8 [HTML] BBCode Problem

lundi 7 juillet 2014

I recently updated my forum from SMF 2.0.7 to 2.0.8. Prior to the update, users with the admin permission set could post html using the html bbcode tag. I am aware that letting other users utilize this tag is a security issue, and I am not looking to enable it for standard members. However, my co-admin and I used the tag quite often in order to format posts in ways that bbcode simply does not support. Since the update, the html code no longer works properly. It does not parse all of the code, leaving a disorganized mess when it is actually posted. Dohtml does not work at all, though it did not previously either.

For example, this is one of the pieces of html we were trying to use:


[html]<div style="color:#fffaf7; background-color:#252d2f; width:450px; font-family: goudy old style; font-size:20px; text-transform:uppercase; letter-spacing:4px; text-align: center; border-radius: 5px;">Dragon Lengths</div>

<div style="color:#b29600; background-color:#ffef99; width:420px; font-size:12px; text-align: left; border-radius: 5px;">Length = 42M</div>[/html]
In 2.0.7, this code created the desired div. Now, in 2.0.8, it gives the impression of working properly. All of the code disappears from the submitted post as though it parsed, but without actually enacting any changes. Posting the above code in dohtml simply gives me the raw code, as does posting the html without any tags around it.

Most curiously, posts that were formatted prior to the update still display properly -- but if we try to post again with the same code, or edit and save changes to those properly-formatted posts, the code breaks for them as well.


I have attempted to search both Google and the SMF forum for similar issues or solutions, but I've been unable to find anything relevant. Any help with this problem would be greatly appreciated.






0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor