[wp-hackers] adding HTML to readme.txt

Phillip Lord phillip.lord at newcastle.ac.uk
Fri May 11 11:07:23 UTC 2012


Ryan McCue <lists at rotorised.com> writes:

> Phillip Lord wrote:
>> I am guessing that readme.txt is not actually parsed my markdown but
>> something related. Is it possible to include raw HTML in? Can anyone
>> point me to an example?
>
> It is parsed by Markdown, but it's also passed through kses, which is most
> likely where the problem is arising.
>
> I'm sure one of the WordPress.org guys can chime in about exactly what kses
> replaces, but it's roughly the same as wp_kses()


Ah. wp_kses should let it through (it allows span with class and title).
I will have to hope someone knows for sure, as doing this black box is
going to be a bit futile. 

Phil


More information about the wp-hackers mailing list