mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
LibWeb: Append only one line feed character in Document.writeln
There were a couple issues here: 1. The line feed should only be appended once, rather than one per string. 2. The new_strings list of strings was unused (we were creating the new list, then passing the old list to Document.write).
This commit is contained in:
parent
d94db1900e
commit
21bd3a21bd
2 changed files with 22 additions and 16 deletions
|
@ -324,6 +324,8 @@ private:
|
|||
|
||||
void tear_down_layout_tree();
|
||||
|
||||
ExceptionOr<void> run_the_document_write_steps(String);
|
||||
|
||||
void increment_referencing_node_count()
|
||||
{
|
||||
VERIFY(!m_deletion_has_begun);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue