Skip to content

Commit

Permalink
Only special-case the YAML key null for top-level sequences/mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Jan 7, 2025
1 parent 280c09f commit 623bbb6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions markdown.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -36185,9 +36185,16 @@ end
{
rendererPrototypes = {
jekyllData(Sequence|Mapping)Begin = {
\str_if_eq:nnTF
{ ##1 }
{ null }
\bool_lazy_and:nnTF
{
\seq_if_empty_p:N
\l_@@_jekyll_data_current_position_seq
}
{
\str_if_eq_p:nn
{ ##1 }
{ null }
}
{
\tl_if_empty:nF
{ #1 }
Expand Down

0 comments on commit 623bbb6

Please sign in to comment.