Skip to content

Commit

Permalink
remove deprecated type on style tag (#4962)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkotenko and kkotenko committed Dec 15, 2023
1 parent bdcd01e commit aedcdc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robot/htmldata/htmlfilewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ class CssFileWriter(InliningWriter):

def write(self, line: str):
href, media = re.search('href="([^"]+)" media="([^"]+)"', line).groups()
self.inline_file(href, 'style', {'type': 'text/css', 'media': media})
self.inline_file(href, 'style', {'media': media})

0 comments on commit aedcdc9

Please sign in to comment.