So, here’s the issue. The data are tag replacements and they have to be done in a specific order.
"<p><strong>"
has to be replaced before
"<strong>"
or it doesn’t work. But this seems to change the order in the JSON output. Is that something we can control?
{preBodyHeader:{"<head>", "DANCE", "</head>", "<head_deck>", "</head_deck>", "<byline>", "</byline>", "<body>", "<l_info>", "<roman>", "Compiled by", "</roman>", " Matt Cooper<EP>", "</l_info>"}, openBodyText:"<body>", firstH3Tag:{"<h3>", "</h3>", "<l_leadin>", "</l_leadin>"}, h3Tag:{"<h3>", "</h3>", "<vb_6p><l_leadin>", "</l_leadin>"}, firstPStrongTag:{"<p><strong>", "</strong>", "<NO,,><vb_6p><NO><l_leadin>", "</l_leadin>"}, pStrongTag:{"<p><strong>", "</strong>", "<vb_6p><l_leadin>", "</l_leadin>"}, strongTag:{"<strong>", "</strong>", "<bold>", "</bold>"}, firstPemTag:{"<p><em>", "</em>", "<EP><italic>", "</italic>"}, pemTag:{"<p><em>", "</em>", "<EP><italic>", "</italic>"}, emTag:{"<em>", "</em>", "<italic>", "</italic>"}, inBodyFooter:"", closeBodyTag:"</body>", postBodyFooter:""}
I get this JSON
{
"slug" : "la-ca-list-0723-dance",
"tags" : [
{
"firstPStrongTag" : [
"<p><strong>",
"<\/strong>",
"<NO,,><vb_6p><NO><l_leadin>",
"<\/l_leadin>"
],
"strongTag" : [
"<strong>",
"<\/strong>",
"<bold>",
"<\/bold>"
],
"emTag" : [
"<em>",
"<\/em>",
"<italic>",
"<\/italic>"
],
"h3Tag" : [
"<h3>",
"<\/h3>",
"<vb_6p><l_leadin>",
"<\/l_leadin>"
],
"pemTag" : [
"<p><em>",
"<\/em>",
"<EP><italic>",
"<\/italic>"
],
"inBodyFooter" : "",
"pStrongTag" : [
"<p><strong>",
"<\/strong>",
"<vb_6p><l_leadin>",
"<\/l_leadin>"
],
"firstPemTag" : [
"<p><em>",
"<\/em>",
"<EP><italic>",
"<\/italic>"
],
"preBodyHeader" : [
"<head>",
"DANCE",
"<\/head>",
"<head_deck>",
"<\/head_deck>",
"<byline>",
"<\/byline>",
"<body>",
"<l_info>",
"<roman>",
"Compiled by",
"<\/roman>",
" Matt Cooper<EP>",
"<\/l_info>"
],
"closeBodyTag" : "<\/body>",
"firstH3Tag" : [
"<h3>",
"<\/h3>",
"<l_leadin>",
"<\/l_leadin>"
],
"postBodyFooter" : "",
"openBodyText" : "<body>"
}
]
}