Skip to content

Conversation

@Kuuuube
Copy link
Contributor

@Kuuuube Kuuuube commented Oct 24, 2025

Tiny thing I messed up in #648

@Kuuuube Kuuuube changed the title Fix subtext having subscript option in doc example Fix subtext having subscript option in doc example and add cfg_attr Oct 24, 2025
@kivikakk
Copy link
Owner

Thanks for the fix! Though this makes me think; how did the doc-tests pass if we weren't actually enabling the option? We forgot to gate the parsing functionality on the option! Could you add a condition in Parser::detect_atx_subtext while we're here?

@Kuuuube
Copy link
Contributor Author

Kuuuube commented Oct 24, 2025

Oops. That's what I get for looking off of the header code for that. Sorry for the trouble. Tests now appear to correctly fail when subtext is not set.

@kivikakk
Copy link
Owner

:D Tysm!

@kivikakk kivikakk merged commit 8e5066a into kivikakk:main Oct 24, 2025
22 checks passed
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