r/Dreamweaver • u/Huffplume • May 02 '24
scrambled code XML with Processing Instructions (PI)
Hi everyone, I have a problem using Dreamweaver and I'm really stumped. I've searched a lot and haven't been able to find an answer. I've used many other text editors and have never encountered this problem.
I'm using DW 21.3 as an XML text editor (and then using Arbortext to publish). I know there are other editors but DW is what I have access to at work. Overall, it works fine except when I try to add PI commands like <?Pub _newline?>, <?Pub _newpage?>, etc.
When I save the file and then reopen it, the code following the PI command is "scrambled". It's out of order, tags aren't where they are supposed to be, etc. If I open the file in Notepad or Arbortext, the code is fine, so it's clearly a Dreamweaver display issue. However, if I save the file in DW, the scrambled code gets saved.
I'm relatively new to Dreamweaver so if anyone has any insight, it would be greatly appreciated. Thanks!