Uploaded image for project: 'jboss.org'
  1. jboss.org
  2. ORG-1289

Editor converts pasted indented code to a table

XMLWordPrintable

      When editing a XML syntax highlight and pasting a code which is indented by spaces, it is always converted to a table without possibility to prevent that.

      This is the page where it happened:
      https://community.jboss.org/wiki/ChangingAS7ConfigurationstandalonexmlWithXSLTTemplateFromMaven

      This is the pasted code:

              <execution>
                  <id>update-datasource.server</id>
                  <phase>process-test-resources</phase>
                  <goals><goal>transform</goal></goals>
                  <inherited>false</inherited>
                  <configuration>
                      <transformationSets>
                          <transformationSet>
                              <dir      >${basedir}/target/jbossas/standalone/configuration</dir>
                              <outputDir>${basedir}/target/jbossas/standalone/configuration</outputDir>
                              <stylesheet>${xslt.scripts.dir}/changeDatabase.xsl</stylesheet>
                              <includes>
                                  <include>standalone*.xml</include>
                              </includes>
                              <parameters>
                                  <parameter>
                                      <name>ds.jdbc.driver.jar</name>
                                      <value>${ds.jdbc.driver.jar}</value>
                                  </parameter>
                                  <parameter>
                                      <name>ds.jdbc.url</name>
                                      <value>${ds.jdbc.url}</value>
                                  </parameter>
                                  <parameter>
                                      <name>ds.jdbc.user</name>
                                      <value>${ds.jdbc.user}</value>
                                  </parameter>
                                  <parameter>
                                      <name>ds.jdbc.pass</name>
                                      <value>${ds.jdbc.pass}</value>
                                  </parameter>
                              </parameters>
                          </transformationSet>
                      </transformationSets>
                  </configuration>
              </execution>
      
      

            lkrzyzan@redhat.com Libor Krzyžanek
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: