c - xmlNodeGetContent introduces newlines -


it seems xmlnodegetcontent introduces newlines, there shouldn't be.

this node dump:

element td   attribute width     text       content=100%   attribute bgcolor     text       content=#ffffff   element font     attribute face       text         content=arial,helvetica     element font       attribute color         text           content=#0000ff       element font         attribute size           text             content=-1         element b           element br   text     content=    element hr   element font     attribute face       text         content=arial,helvetica     element font       attribute color         text           content=#0000ff       element font         attribute size           text             content=-1         element b           text             content=love         element br   text     content=    element ul     element li       element small         element font           attribute color             text               content=#ff0000           text             content=s         text           content= iubire          element font           attribute color             text               content=#ff0000           text             content=f         text           content=; dragoste          element font           attribute color             text               content=#ff0000           text             content=f         text           content=; scump          element font           attribute color             text               content=#ff0000           text             content=m         text           content=;          element font           attribute color             text               content=#0000ff           text             content=to in love         text           content= fi #c3#aendr#c4#83gostit de;          element font           attribute color             text               content=#0000ff           text             content=to send one's love         text           content= transmite complimente;          element font           attribute color             text               content=#0000ff           text             content=love affair         text           content= amor;          element font           attribute color             text               content=#0000ff           text             content=lovelorn         text           content= dezn#c4#83d#c4#83jduit     text       content=      element li       element small         element font           attribute color             text               content=#ff0000           text             content=vt         text           content= iubi; a-i pl#c4#83cea     text       content= 

and text returned xmlnodegetcontent:

  s iubire f; dragoste f; scump   m; in love   fi îndrăgostit de; send   one's love transmite complimente; love affair amor; lovelorn deznădăjduit   vt iubi; a-i   plăcea 

as can see there line breaks there shouldn't be.

despite unhelpful comments (really, not obvious question was?), share explanation.

the lines due html tidy prettifying document.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -