facebook

auto formatting of xhtml files detroys the content

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #318029 Reply

    giofyxle
    Member

    Hallo,

    I am using MyEclipse Enterprise Workbench Version: 8.5

    Today I formatted xhtml with the shortcut <ctrl><shift><F>. I think this is the same as doing this from the menu Source/Format.

    Doing this there had been detroyed some xhtml files:

    For example an xhtml-code like this:

    
    <div style="height:#{mbBenutzerEinst.oberelinkzeileHeightStandard}" id="oberelinkzeile" >
        <ui:insert name="oberelinkzeile">
        <ui:include src="oberelinkzeile.xhtml"/>
        </ui:insert>
    </div>
    

    will be formatted like that:

    
    <div
        style="height: #{ mbBenutzerEinst.oberelinkzeileHeightStandard"
        id="oberelinkzeile">
        <ui:insert name="oberelinkzeile">
            <ui:include src="oberelinkzeile.xhtml" />
        </ui:insert>
    </div>
    

    As you can see the closing bracket ‘}’ after #{mbBenutzerEinst.oberelinkzeileHeightStandard was lost.

    Is this a bug or do I have to change some settings? Any idea?

    Thanks

    giofyxle

    #318037 Reply

    support-swapna
    Moderator

    giofyxlem,

    I could replicate the issue at my end. I have filed a PR for the dev team to work on it.
    Sorry for the inconvenience caused.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: auto formatting of xhtml files detroys the content

You must be logged in to post in the forum log in