All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.css.rules.css.S4652.html Maven / Gradle / Ivy

There is a newer version: 10.17.0.28100
Show newest version

According to the W3C specifications:

A string cannot directly contain a newline. To include a newline in a string, use an escape representing the line feed character in ISO-10646 (U+000A), such as "\A" or "\00000a".

[…​]

It is possible to break strings over several lines, for aesthetic or other reasons, but in such a case the newline itself has to be escaped with a backslash (\).

Noncompliant Code Example

a {
  content: "first
    second";
}

Compliant Solution

a {
  content: "first\Asecond";
}

See





© 2015 - 2024 Weber Informatics LLC | Privacy Policy