summaryrefslogtreecommitdiff
path: root/ext/js/dom
diff options
context:
space:
mode:
authorKuuuube <61125188+Kuuuube@users.noreply.github.com>2024-05-29 17:07:31 -0400
committerGitHub <noreply@github.com>2024-05-29 21:07:31 +0000
commit7fc2f418e639c1920c731524a142a07c17a400da (patch)
tree962d4872b26338d100db02b205648e8d440a1ef8 /ext/js/dom
parentdd1f195cd721948732abbbb2428999393844487e (diff)
Disallow breaking on rb tags when layout aware scanning is enabled (#1006)
* Disallow breaking on rb tags when layout aware scanning is enabled * Mark RB as enterable
Diffstat (limited to 'ext/js/dom')
-rw-r--r--ext/js/dom/dom-text-scanner.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/js/dom/dom-text-scanner.js b/ext/js/dom/dom-text-scanner.js
index b86d6586..eb56baf9 100644
--- a/ext/js/dom/dom-text-scanner.js
+++ b/ext/js/dom/dom-text-scanner.js
@@ -421,6 +421,8 @@ export class DOMTextScanner {
case 'SCRIPT':
case 'STYLE':
return {enterable: false, newlines: 0};
+ case 'RB':
+ return {enterable: true, newlines: 0};
case 'BR':
return {enterable: false, newlines: 1};
case 'TEXTAREA':