RawString returns the raw JavaScript representation of a string (i.e. escape sequences are left undecoded) but with the surrounding quotes removed.
()
| 204 | // of a string (i.e. escape sequences are left undecoded) |
| 205 | // but with the surrounding quotes removed. |
| 206 | func (n *Node) RawString() string { |
| 207 | return dequote(n.Content()) |
| 208 | } |
| 209 | |
| 210 | // DecodedString returns a fully decoded version of a |
| 211 | // JavaScript string. It is just a convenience wrapper |
no test coverage detected