Udo Schnurpfeil created TOBAGO-1346:
---------------------------------------

             Summary: JSON friendly HTML code (change " with ' for attributes)
                 Key: TOBAGO-1346
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1346
             Project: MyFaces Tobago
          Issue Type: Improvement
          Components: Themes
            Reporter: Udo Schnurpfeil
            Assignee: Udo Schnurpfeil


Changing the string borders of attributes in HTML from
  foo="bar"
to
  foo='bar'
makes it shorter and easier to read, when the attributes value is JSON.

Example:
data-tobago-commands="{"resize":{"action":"page:j_id_3"}}"
vs.
data-tobago-commands='{"resize":{"action":"page:j_id_3"}}'




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to