Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

fix: remove empty style #21

Merged
merged 1 commit into from
Oct 6, 2023
Merged

fix: remove empty style #21

merged 1 commit into from
Oct 6, 2023

Conversation

bluwy
Copy link
Contributor

@bluwy bluwy commented Oct 6, 2023

Description

In plaintext syntax highlighting when <span>s has no style, shikiji was generating style="" the spans. This PR removes that empty style attribute.

Linked Issues

n/a

Additional context

Found this while trying to integrate this in Astro: withastro/astro#8502

@antfu antfu merged commit 7fd2092 into antfu:main Oct 6, 2023
@bluwy bluwy deleted the no-empty-style branch October 6, 2023 17:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants