Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-789

Improperly escaping line terminators

    Details

      Description

      When creating runtime styles, the styler.js module is improperly escaping certain escape sequences, most notably line terminators. The following line in a TSS file:

      text: 'this is a \nlinebreak'
      

      is actually rendering the line break in the generated code, instead of preserving the given text string. The line terminators that should specifically be handled are listed here:

      http://es5.github.io/#x7.3

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tlukasavage Tony Lukasavage
                Reporter:
                tlukasavage Tony Lukasavage
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration