How to remove <p> tag

Questions about XML that are not covered by the other forums should go here.
CharlesGifford
Posts: 1
Joined: Fri Apr 26, 2024 7:31 am

How to remove <p> tag

Post by CharlesGifford »

I'm working with the DITA editor in Oxygen and I've noticed that every time I add a new list item to a list, the new list item always contains a <p> tag. Is there a way to automatically remove this <p> tag whenever I add a list item? I've looked through the settings but can't seem to find an appropriate option.
Radu
Posts: 9066
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to remove <p> tag

Post by Radu »

Hi Charles,
By default with a stock installation of Oxygen, Oxygen does not automatically add <p> elements inside list items.
So this is something specific to your installation, maybe you are using a company specific DITA framework customization or maybe you are using a DITA specialization DTD which imposes the use of paragraphs as required elements inside list items...
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply