}
// contents are not html encoded
-plaintext_elements = {
+var plaintext_elements = {
style: 1,
script: 1,
xmp: 1,
}
// parser deletes a starting newline inside:
-newline_eating_elements = {
+var newline_eating_elements = {
pre: 1,
textarea: 1,
listing: 1
}
if (need_preserve) {
// do we have it already?
- ws = this.computed_style(n, 'white-space') // FIXME implement this
+ ws = this.computed_style(n, 'white-space')
if (ws_props[ws] != null ? !ws_props[ws].space : true) {
// 2nd arg is ideal target for css rule
ws = this.preserve_space(n, block)
eats_start_sp = false
} else {
if (is_space_code(n.text.charCodeAt(n.text.length - 1))) {
- ws = this.computed_style(n, 'white-space') // FIXME implement this
+ ws = this.computed_style(n, 'white-space')
if ((ref1 = ws_props[ws]) != null ? ref1.space : void 0) {
eats_start_sp = false
} else {