Default text renderer collapses whitespace in diffs

XMLWordPrintable

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      When people post diffs in the tracker (something fairly common!) the whitespace is collapsed.

      For example:

      Index: moodlelib.php
      ===================================================================
      RCS file: /cvsroot/moodle/moodle/lib/moodlelib.php,v
      retrieving revision 1.770
      diff -c -r1.770 moodlelib.php

          • moodlelib.php 2 Oct 2006 15:15:23 -0000 1.770
          • moodlelib.php 4 Oct 2006 06:28:57 -0000
            ***************
          • 1508,1516 ****
            /// If the user is not even logged in yet then make sure they are
            if (! (isset($USER->loggedin) and $USER->confirmed and ($USER->site == $CFG->wwwroot)) ) {
            $SESSION->wantsurl = $FULLME;
      • if (!empty($_SERVER['HTTP_REFERER'])) { - $SESSION->fromurl = $_SERVER['HTTP_REFERER']; - }

        $USER = NULL;
        if ($autologinguest && !empty($CFG->autologinguests) and
        $courseid and ($courseid == SITEID or get_field('course','guest','id',$courseid)) ) {

          • 1508,1513 ----

            Assignee:
            Unassigned
            Reporter:
            Martin Martin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: