Skip to content

Commit

Permalink
Merge branch 'fix/allow-line-break-before-options'
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Mar 9, 2024
2 parents ca9dcc9 + f15a1be commit a45cf0e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

## 3.4.2 (2024-03-09)

Fixes:

- In `\begin{markdown}[options]`, allow a new line before `options`.
(#414, #415)

Contributed Software:

- Add `contributions/istqb_product_base`. (8e727c9b)
Expand Down
2 changes: 1 addition & 1 deletion markdown.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -33732,7 +33732,7 @@ end
% \end{markdown}
% \begin{macrocode}
\peek_regex_replace_once:nnF
{ \ *\[([^]]*)\][^\r]* }
{ \ *\[\r*([^]]*)\][^\r]* }
{
% \end{macrocode}
% \begin{markdown}
Expand Down
4 changes: 3 additions & 1 deletion tests/templates/latex/verbatim/body.tex.m4
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
\catcode"7E=12% Tildes (U+007E)

% Perform the test.
\begin{markdown}[snippet=testSnippet]
\begin{markdown}[
snippet=testSnippet,
]
undivert(TEST_INPUT_FILENAME)dnl
\end{markdown}

Expand Down

0 comments on commit a45cf0e

Please sign in to comment.