oxy|processing-instruction selector in Web Author

Hi, I'm implementing support for inserting manual line-breaks into content. This is done as processing instruction <?br?>. In an Author mode I can get reasonable rendering by using the following CSS rules: oxy|processing-instruction[br]::before { content: "["; } oxy|processing-instruction[br]::after { content: "]\a"; white-space: pre; } However in Web Autor these rules are ignored although I don't see this kind of usage listed as unsupported at https://www.oxygenxml.com/doc/versions/21.0.0/ug-waCustom/topics/webapp_css_... If this is just undocumented limitation is there any other way how to implement this in Web Author? Many thanks in advance, Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------

Hello, Yes. As of version 21 this is a limitation of Web Author. However it will be supported in the next version (already implemented in the nightly builds). Best, Cristian On 3/5/2019 12:28 PM, Jirka Kosek wrote:
Hi,
I'm implementing support for inserting manual line-breaks into content. This is done as processing instruction <?br?>. In an Author mode I can get reasonable rendering by using the following CSS rules:
oxy|processing-instruction[br]::before { content: "["; }
oxy|processing-instruction[br]::after { content: "]\a"; white-space: pre; }
However in Web Autor these rules are ignored although I don't see this kind of usage listed as unsupported at https://www.oxygenxml.com/doc/versions/21.0.0/ug-waCustom/topics/webapp_css_...
If this is just undocumented limitation is there any other way how to implement this in Web Author?
Many thanks in advance,
Jirka
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Cristi Talau
-
Jirka Kosek