Uploaded image for project: 'Bloomreach Forge'
  1. Bloomreach Forge
  2. FORGE-30

Forge Maven Skin: line numbers failing when generated on non-Windows env

    XMLWordPrintable

Details

    Description

      The current code (in site.vm) doesn't work on non-Windows platform where files are generated with \n only, not \r\n (on Windows):

                  $bodyContent.replaceAll("<div class=\"source\">\r\n<pre>", "<div class=\"source\"><pre>").replaceAll( "<div class=\"source\"><pre>", "<div class=\"source\"><pre class=\"$sourceStyle\">" ).replaceAll( "class=\"bodyTable\"", "class=\"table table-striped\"" )
      

      Attachments

        Issue Links

          Activity

            People

              wko Woonsan Ko (Inactive)
              wko Woonsan Ko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: