1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

LibJS: Make section URLs more consistent

- Drop index.html
- Include trailing slash before anchor
- Don't use multipage spec URLs
This commit is contained in:
Linus Groh 2021-11-24 18:37:57 +00:00
parent ad294ff2ee
commit 905b8bd545
4 changed files with 9 additions and 9 deletions

View file

@ -204,7 +204,7 @@ String Token::string_value(StringValueStatus& status) const
return builder.to_string();
}
// 12.8.6.2 Static Semantics: TRV, https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#sec-static-semantics-trv
// 12.8.6.2 Static Semantics: TRV, https://tc39.es/ecma262/#sec-static-semantics-trv
String Token::raw_template_value() const
{
return value().replace("\r\n", "\n", true).replace("\r", "\n", true);