summaryrefslogtreecommitdiff
path: root/script/provider/markdown.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider/markdown.lua')
-rw-r--r--script/provider/markdown.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/provider/markdown.lua b/script/provider/markdown.lua
index c5765571..5e564a40 100644
--- a/script/provider/markdown.lua
+++ b/script/provider/markdown.lua
@@ -4,6 +4,10 @@ mt.__name = 'markdown'
mt._splitLine = false
+function mt:__tostring()
+ return self:string()
+end
+
local function checkSplitLine(self)
if not self._splitLine then
return