|

|
i'm not sure where you get the idea that br tags aren't allowed under xhtml 1 strict. the dtd has this to say:
<!ELEMENT br EMPTY> <!-- forced line break -->
<!ATTLIST br
%coreattrs;
>
as for the description_raw - a quick test of what's transmitted over the wire shows that we don't send the br tags - that must be a wordpress addition. my raw request looks like this:
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
<methodName>metaWeblog.newPost</methodName>
<params>
<param><value><string>1</string></value></param>
<param><value><string>{username}</string></value></param>
<param><value><string>{password}</string></value></param>
<param><value><struct>
<member><name>title</name><value><string>Title!</string></value></member>
<member><name>description</name><value><string>DESC:this
is
a
test</string></value></member>
</struct></value></param>
<param><value><boolean>1</boolean></value></param>
</params>
</methodCall>
Posted 78 months ago.
( permalink
)
|