Thread
:
Plugin to import text files
View Single Post
04-26-2017, 10:08 PM
#
9
Doitsu
Grand Sorcerer
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Since
escape
ignores straight quotes, it couldn't hurt to proactively replace them with entities:
Code:
data = xmlescape(data).replace(
'
"
'
,
'
"
'
)
Doitsu
View Public Profile
Find More Posts by Doitsu
Track Posts by Doitsu via RSS