Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Can you replace with in Indesign (xml)?

$
0
0

Hey guys,

 

when you tag an element in Indesign, you get 
 for linebreaks. I need this to be 


 

I tried the following:

 

for(i = 0; i < myDocument.selection.length; i++){

    current = myDocument.selection;

    currentText[i] = current[i].contents;

    currentText[i].replace('&#xD','&#xA');

}

 

Any suggestions? Thanks in advance!


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>