diff options
author | Kuuuube <61125188+Kuuuube@users.noreply.github.com> | 2024-05-29 17:07:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 21:07:31 +0000 |
commit | 7fc2f418e639c1920c731524a142a07c17a400da (patch) | |
tree | 962d4872b26338d100db02b205648e8d440a1ef8 /ext | |
parent | dd1f195cd721948732abbbb2428999393844487e (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')
-rw-r--r-- | ext/js/dom/dom-text-scanner.js | 2 |
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': |