You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been developing a module, and I've just noticed that the includeMarkdown() function will fail if the file is empty. Although this may seem fairly harmless, I have a project in which we develop modules that may include a help file, and the example help.md file is sometimes empty. If I add just a small amount of text to it, the function works again, and if I remove all text, the function fails.
It'd be nice just to include an empty pair of tags just to make sure that the function stays in tact in this very mundane fail case.
The text was updated successfully, but these errors were encountered:
I've been developing a module, and I've just noticed that the
includeMarkdown()
function will fail if the file is empty. Although this may seem fairly harmless, I have a project in which we develop modules that may include a help file, and the examplehelp.md
file is sometimes empty. If I add just a small amount of text to it, the function works again, and if I remove all text, the function fails.It'd be nice just to include an empty pair of tags just to make sure that the function stays in tact in this very mundane fail case.
The text was updated successfully, but these errors were encountered: