diff --git a/compiler/ast/HtmlAttribute.js b/compiler/ast/HtmlAttribute.js
index f3bc4e998..a71e56337 100644
--- a/compiler/ast/HtmlAttribute.js
+++ b/compiler/ast/HtmlAttribute.js
@@ -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') {