mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 23:55:12 +00:00
LibWeb: Add position tracking information to HTML tokens
This commit is contained in:
committed by
Andreas Kling
parent
fd982f6562
commit
aa7939bc6c
@@ -57,6 +57,10 @@ String HTMLToken::to_string() const
|
||||
builder.append("' }");
|
||||
}
|
||||
|
||||
builder.appendff("@{}:{}-{}:{}",
|
||||
m_start_position.line, m_start_position.column,
|
||||
m_end_position.line, m_end_position.column);
|
||||
|
||||
return builder.to_string();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user