Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippImhof committed Oct 26, 2024
1 parent 254b6b8 commit 2407545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions report.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,10 @@ public function workaround_atto_font_size_issue(string $input): string {
$pattern = '|
( # capturing group #1 for the "prefix"
<span[^>]*style # opening a <span> tag, any stuff before the style attribute
\s*=\s* # equal sign may be surrounded by white space
\s*=\s* # equal sign may be surrounded by whitespace
([\'"]) # opening quote may be single or double, capture #2 for closing quote
[^\2]*font-size # arbitrary content before the font-size property
\s*:\s* # colon may be surrounded by white space
\s*:\s* # colon may be surrounded by whitespace
) # end of capturing group for the "prefix"
([.0-9]+) # capture the numeric value, group #3
\s*rem # only match for unit rem, other units do not seem to cause trouble
Expand Down

0 comments on commit 2407545

Please sign in to comment.