mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Ensure that all lines in the pad are marked with class ace-line
.
Without this change, lines that haven't ever been edited will have either an empty class or, in the case of list start lines, a class that begins with a space (because the `ace-line` before the space never got added).
This commit is contained in:
parent
f2b5f3bca2
commit
2a876e5e9b
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ domline.createDomLine = function(nonEmpty, doesWrap, optBrowser, optDocument)
|
|||
result.clearSpans = function()
|
||||
{
|
||||
html = [];
|
||||
lineClass = ''; // non-null to cause update
|
||||
lineClass = 'ace-line';
|
||||
result.lineMarker = 0;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue