About Social Code
summaryrefslogtreecommitdiff
path: root/tools/note.lua
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@gmail.com>2023-02-09 12:10:02 -0500
committerLucas Fryzek <lucas.fryzek@gmail.com>2023-02-09 12:10:02 -0500
commit2daf4211c550f20041ec0532793b4d029f7f3a6e (patch)
treef107f9d53a69c5db70273eac91f84dc23f83d0d8 /tools/note.lua
parentcc0f62169764be6bb389cbbbeda9c3c3f5bed23b (diff)
Fix mobile layout
Diffstat (limited to 'tools/note.lua')
-rw-r--r--tools/note.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/note.lua b/tools/note.lua
index d684aaa..8a790fc 100644
--- a/tools/note.lua
+++ b/tools/note.lua
@@ -18,7 +18,7 @@ function Image(image)
local s_begin, s_end = string.find(image.src, "youtube:")
if s_begin ~= nil then
local url = "https://www.youtube.com/embed/" .. string.sub(image.src, s_end+1, -1)
- local video = pandoc.RawInline("html", string.format("<div class=\"youtube-video\"><iframe width=\"728px\" height=\"410px\" src=\"%s\"></iframe></div>", url))
+ local video = pandoc.RawInline("html", string.format("<div class=\"youtube-video\"><iframe src=\"%s\"></iframe></div>", url))
return {video}
end
else