IMG tag in comments breaks numbering sequence
-
I’m not sure that title is really clear, so go to this link to see what I mean.
https://www.blogesque.com/?p=473#comment-1012
The comment before to the one with the image is #11, so the next one should be #12. Instead, it’s #5 and is indented further than the rest of the comments are.
To allow the IMG function, I added the following to MY-HACKS.PHP (the first 3 were already there):
$allowedtags = Array(
'ol' => array(),
'ul' => array(),
'li' => array(),
'img' => array(),
'src' => array(),
'border' => array(),
'vspace' => array(),
'hspace' => array(),
'align' => array(),
'title' => array(),
);
define('CUSTOM_TAGS', true);
This is the only change I made, and I didn’t mess with KSES itself at all. What’s causing this?
- The topic ‘IMG tag in comments breaks numbering sequence’ is closed to new replies.