Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix syntax highlighting alignment and =cut handling #3231

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Conversation

haarg
Copy link
Member

@haarg haarg commented Nov 18, 2024

No description provided.

Sometimes, min-height will not be properly applied and will break the
alignment of source pages. height is more strictly followed.
perl terminates pod sections with a =cut directive, but is very loose
about how it parses it. Update the syntax highlighter regex to match how
perl handles this. It doesn't match the pod spec, but this is primarily
doing highlighting on perl code, not pod.
@mauke
Copy link
Contributor

mauke commented Nov 19, 2024

Related: Perl/perl5#22759

@haarg haarg merged commit b4d25ef into master Nov 19, 2024
11 checks passed
@haarg haarg deleted the haarg/synhi-fix branch November 19, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants