• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      Some users don't like syntax highlighting for various reasons (e.g. external editor doesn't work etc.), see e.g. [1,2]. It would be nice to have an option (probably in global Jenkins configuration) which would switch on/off syntax highlighting.

      [1] http://jenkins.361315.n4.nabble.com/HTML-syntax-highlighting-boooo-tp3701399p3701399.html
      [2] http://jenkins.361315.n4.nabble.com/Text-area-to-enter-description-is-now-syntax-highlighted-tp3696066p3698932.html

          [JENKINS-10509] Make syntax highlighting optional

          vjuranek added a comment -

          thanks to pull request [1] it should be very easy to implement it as as plugin, which would be better then have this option in the core (so that only interested user which install the plugin will see the option)

          [1] https://github.com/jenkinsci/jenkins/pull/203

          vjuranek added a comment - thanks to pull request [1] it should be very easy to implement it as as plugin, which would be better then have this option in the core (so that only interested user which install the plugin will see the option) [1] https://github.com/jenkinsci/jenkins/pull/203

          Code changed in jenkins
          User: bap2000
          Path:
          changelog.html
          core/src/main/java/hudson/markup/RawHtmlMarkupFormatter.java
          core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.jelly
          core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.properties
          http://jenkins-ci.org/commit/jenkins/9eae46defb30077b1bf80dbf370495bef804dd21
          Log:
          [FIXED JENKINS-10509] Make syntax highlighting optional

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: changelog.html core/src/main/java/hudson/markup/RawHtmlMarkupFormatter.java core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.jelly core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.properties http://jenkins-ci.org/commit/jenkins/9eae46defb30077b1bf80dbf370495bef804dd21 Log: [FIXED JENKINS-10509] Make syntax highlighting optional

          bap added a comment -

          Sorry, I knew how easy this would be, but have only just read your comment!

          The RawHtmlMarkupFormatter - the default now has a checkbox to disable the syntax highlighting.
          To see the option, enable security and the default Markup formatter will be Raw HTML.
          The checkbox is just below.

          bap added a comment - Sorry, I knew how easy this would be, but have only just read your comment! The RawHtmlMarkupFormatter - the default now has a checkbox to disable the syntax highlighting. To see the option, enable security and the default Markup formatter will be Raw HTML. The checkbox is just below.

          dogfood added a comment -

          Integrated in jenkins_main_trunk #996
          [FIXED JENKINS-10509] Make syntax highlighting optional

          bap2000 : 9eae46defb30077b1bf80dbf370495bef804dd21
          Files :

          • core/src/main/java/hudson/markup/RawHtmlMarkupFormatter.java
          • changelog.html
          • core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.jelly
          • core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.properties

          dogfood added a comment - Integrated in jenkins_main_trunk #996 [FIXED JENKINS-10509] Make syntax highlighting optional bap2000 : 9eae46defb30077b1bf80dbf370495bef804dd21 Files : core/src/main/java/hudson/markup/RawHtmlMarkupFormatter.java changelog.html core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.jelly core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.properties

          Code changed in jenkins
          User: bap2000
          Path:
          changelog.html
          core/src/main/java/hudson/markup/RawHtmlMarkupFormatter.java
          core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.jelly
          core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.properties
          http://jenkins-ci.org/commit/jenkins/9eae46defb30077b1bf80dbf370495bef804dd21
          Log:
          [FIXED JENKINS-10509] Make syntax highlighting optional

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: changelog.html core/src/main/java/hudson/markup/RawHtmlMarkupFormatter.java core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.jelly core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.properties http://jenkins-ci.org/commit/jenkins/9eae46defb30077b1bf80dbf370495bef804dd21 Log: [FIXED JENKINS-10509] Make syntax highlighting optional

          Code changed in jenkins
          User: bap2000
          Path:
          changelog.html
          core/src/main/java/hudson/markup/RawHtmlMarkupFormatter.java
          core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.jelly
          core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.properties
          http://jenkins-ci.org/commit/jenkins/9eae46defb30077b1bf80dbf370495bef804dd21
          Log:
          [FIXED JENKINS-10509] Make syntax highlighting optional

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: bap2000 Path: changelog.html core/src/main/java/hudson/markup/RawHtmlMarkupFormatter.java core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.jelly core/src/main/resources/hudson/markup/RawHtmlMarkupFormatter/config.properties http://jenkins-ci.org/commit/jenkins/9eae46defb30077b1bf80dbf370495bef804dd21 Log: [FIXED JENKINS-10509] Make syntax highlighting optional

            bap bap
            vjuranek vjuranek
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: