Dot added at the end of the paragraph when importing XML
I have some ExtendScripts to import XML files into a template. They were developed some years ago using InDesign CS6. They worked fine.
Currently I'm using InDesign 19.5. When importing an XML file it is adding a dot at the end of each paragraph. I don't know how to avoid that, as the XML text already has the dots and it is duplicating the dot.
My input file is something like this:
<paragraph>Text paragraph 1.</paragraph>
<aid3:br/>
<paragraph>Text paragraph 2.</paragraph>
<aid3:br/>I have realized that removing the <aid3:br> tag it does not add the dot, but it neither adds the line break. I just want the line break to be added.
I have these configuration properties:
with (app.documents[0].xmlImportPreferences) {
importToSelected = false;
importStyle = importType;
createLinkToXML = false;
allowTransform = false;
repeatTextElements = true;
ignoreUnmatcherIncoming = false;
importTextIntoTables = true;
ignoreWhitespace = false;
removeUnmatchedExisting = false;
importCALSTables = true;
}We have looked into InDesign configuration and in paragraph styles. No clue found.
Where can it be configured?
Thanks.
