mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Marko v3: Also store the raw, unparsed value of an attribute
This commit is contained in:
parent
98b52a3342
commit
3a841cd8df
@ -106,6 +106,7 @@ class HtmlAttribute extends Node {
|
||||
this.type = 'HtmlAttribute';
|
||||
this.name = def.name;
|
||||
this.value = def.value;
|
||||
this.rawValue = def.rawValue;
|
||||
this.escape = def.escape;
|
||||
|
||||
if (typeof this.value === 'string') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user