Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-109

When compressWhitespace is set, whitespace in <pre> blocks is also compressed

    Details

      Description

      I have a web page with some <pre> </pre> pieces in it and the
      application has compressWhitespace set. However now it also compresses
      the whitespaces in the pre, even though the semantics of whitespace is
      different in a pre than outside of a pre. It seems to me this is a
      (minor) bug?

        Activity

        Hide
        almaw Alastair Maw added a comment -

        This was harder than it looked.
        Fixed for 1.3 and 2.0, with the common case very nearly as fast as it was before (extra quick regexp match).

        Show
        almaw Alastair Maw added a comment - This was harder than it looked. Fixed for 1.3 and 2.0, with the common case very nearly as fast as it was before (extra quick regexp match).

          People

          • Assignee:
            almaw Alastair Maw
            Reporter:
            svanerk Sebastiaan van Erk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development