开发者

Movable Type: How to replace " with "

开发者 https://www.devze.com 2023-01-13 14:49 出处:网络
I am trying to replace only \" with &quot; within EntryBody I tried <mt:en开发者_Python百科trybody replace=\"\"\",\"&quot;\"> but this seems to not work. Version is MT5.02 and I don\'t

I am trying to replace only " with &quot; within EntryBody

I tried <mt:en开发者_Python百科trybody replace=""","&quot;"> but this seems to not work. Version is MT5.02 and I don't want to use <mt:entrybody encode_html="1">

What I am trying to do is import all entires using CSV(comma separated) format(clients request) and " (quotation mark) inside EntryBody gives me syntax errors. I can't use encode_html because this encodes links(<a href=""></a>) to entities and I don't want that.

Any advice?


One of these should work.

"\"","&quot;"
'"','&quot;'
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号