mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 03:25:13 +00:00
LibGfx: Serialize unicode-ranges in uppercase
This matches the behavior of other browsers.
This commit is contained in:
parent
1e132d9f87
commit
3288c71953
Notes:
github-actions[bot]
2025-04-07 09:02:00 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/3288c719531 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4224
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ public:
|
|||
String to_string() const
|
||||
{
|
||||
if (m_min_code_point == m_max_code_point)
|
||||
return MUST(String::formatted("U+{:x}", m_min_code_point));
|
||||
return MUST(String::formatted("U+{:x}-{:x}", m_min_code_point, m_max_code_point));
|
||||
return MUST(String::formatted("U+{:X}", m_min_code_point));
|
||||
return MUST(String::formatted("U+{:X}-{:X}", m_min_code_point, m_max_code_point));
|
||||
}
|
||||
|
||||
bool operator==(UnicodeRange const& other) const
|
||||
|
|
Loading…
Add table
Reference in a new issue