-
Notifications
You must be signed in to change notification settings - Fork 155
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
Bugfix/issu362 #363
base: master
Are you sure you want to change the base?
Bugfix/issu362 #363
Conversation
Could you add a test for this that shows that it's failing? |
Do you mean some <!-- Macro: ::test::
Template: #inline
inline: |
HiHo
-->
::test:: as a testfile into testdata: +<!-- Macro: ::test::
+ Template: #inline
+ inline: |
+ HiHo
+ -->
+<p>::test::</p> So the macro was never touched it seemed. |
So here is the test for you to reproduce: % mark --compile-only -f issue362-without-include.md
2023-10-17 09:57:39.009 INFO processing issue362-without-include.md
2023-10-17 09:57:39.010 INFO the leading H1 heading will be excluded from the Confluence output
<p>Hiho Manuel.</p> So without the include it was fine. % mark --compile-only -f issue362-with-include.md
2023-10-17 09:58:14.339 INFO processing issue362-with-include.md
2023-10-17 09:58:14.340 INFO the leading H1 heading will be excluded from the Confluence output
<p>Hiho {{ .title }}</p>
<p>SELECT NOW()</p> With the include, % mark2 --compile-only -f issue362-with-include.md
2023-10-17 09:58:50.245 INFO processing issue362-with-include.md
2023-10-17 09:58:50.246 INFO the leading H1 heading will be excluded from the Confluence output
<p>Hiho Manuel.</p>
<p>SELECT NOW()</p> With my patched version ( issue362-without-include.md |
Do you have any clue, why include macros are not executed when running These files I have put into |
This is a fix for issue #362 I found today