mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
AK: Copy escape char when forking SourceGenerator
Nobody that calls fork() actually passes a non-default escape char, but in the case that we start doing that, let's avoid nasty surprises
This commit is contained in:
parent
1a7932601a
commit
20ad31b6c8
Notes:
github-actions[bot]
2025-06-30 17:40:25 +00:00
Author: https://github.com/bplaat
Commit: 20ad31b6c8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4535
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
|
||||
[[nodiscard]] SourceGenerator fork()
|
||||
{
|
||||
return SourceGenerator { m_builder, MUST(m_mapping.clone()), m_opening, m_closing };
|
||||
return SourceGenerator { m_builder, MUST(m_mapping.clone()), m_opening, m_closing, m_escape };
|
||||
}
|
||||
|
||||
void set(StringView key, String value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue