[oXygen-user] xml:space="preserve" and IDE space preserve
George Cristian Bina
Fri Apr 4 09:10:37 CDT 2008
Hi Robert,
The behavior is configurable.
You need to disable the "Indent (when typing) in preserve space
elements" option from Options->Preferences -- Editor -- Format -- XML,
Indent group.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Robert Koberg wrote:
> Hi,
>
> Let's say I have this is one page:
>
> <div>
> <script xml:space="preserve">
> if (true) {
> alert("boo");
> }
> </script>
> </div>
>
> If I paste that with the xml:space *or* with the element included IDE's
> Options Preference for 'Preserve Space elements (XPath)' the result of
> the past is:
>
> <div>
> <script xml:space="preserve">
> if (true) {
> alert("boo");
> }
> </script>
> </div>
>
> Is this a bug?
>
> best,
> -Rob
>
>
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list