clear rawValue from JSX attribute values as they're tokenised and parsed differently - fixes #2114
This commit is contained in:
9
test/fixtures/jsx/basic/4/expected.json
vendored
9
test/fixtures/jsx/basic/4/expected.json
vendored
@@ -180,7 +180,7 @@
|
||||
}
|
||||
},
|
||||
"value": " ",
|
||||
"rawValue": " ",
|
||||
"rawValue": null,
|
||||
"raw": "\" \""
|
||||
}
|
||||
},
|
||||
@@ -229,7 +229,7 @@
|
||||
}
|
||||
},
|
||||
"value": "&",
|
||||
"rawValue": "&",
|
||||
"rawValue": null,
|
||||
"raw": "\"&\""
|
||||
}
|
||||
},
|
||||
@@ -278,7 +278,7 @@
|
||||
}
|
||||
},
|
||||
"value": "&r;",
|
||||
"rawValue": "&r;",
|
||||
"rawValue": null,
|
||||
"raw": "\"&r;\""
|
||||
}
|
||||
}
|
||||
@@ -306,6 +306,5 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user