public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Using '&' for YouTube embeds in markdown?
@ 2015-09-17 13:36 Joseph Reagle
       [not found] ` <55FAC1F6.4000803-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Joseph Reagle @ 2015-09-17 13:36 UTC (permalink / raw)
  To: pandoc-discuss

For my class slides, I've long made use of embedded YouTube videos, sometimes with start and end parameters.


```
## Marshmallow study

<iframe width="640" height="480" src="//www.youtube.com/embed/Wio6Ue2-O_4?start=0&end=79" frameborder="0" allowfullscreen></iframe>

```

The bald '&' may be invalid HTML (and markdown) but I always got away with it. However, it appears pandoc is now rendering this as:

```

<section id="marshmallow-study" class="slide level2">
<h1>Marshmallow study</h1>
<p>&lt;iframe width=“640” height=“480” data-src=“http://www.youtube.com/embed/Wio6Ue2-O_4?start=0&amp;end=79” frameborder=“0” allowfullscreen&gt;</iframe></p>
</section>

```

I'm using pandoc 1.15.0.6 and wonder if something changed or it became more strict? It does work if I use &amp; instead. I'm just curious and wanted to point this out for others.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/55FAC1F6.4000803%40reagle.org.
For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-09-18  1:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17 13:36 Using '&' for YouTube embeds in markdown? Joseph Reagle
     [not found] ` <55FAC1F6.4000803-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2015-09-17 18:44   ` John MACFARLANE
     [not found]     ` <20150917184454.GC21127-4kKid1p5UN4xFjuZnxJpBp3lxR28IOakuDuwTybUTCk@public.gmane.org>
2015-09-17 19:22       ` Joseph Reagle
     [not found]         ` <55FB12DA.8060606-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2015-09-17 19:39           ` Daniel Staal
2015-09-17 21:40             ` John MACFARLANE
     [not found]               ` <20150917214014.GD30437-4kKid1p5UN4xFjuZnxJpBp3lxR28IOakuDuwTybUTCk@public.gmane.org>
2015-09-17 21:59                 ` Daniel Staal
2015-09-17 22:19                   ` Joseph Reagle
2015-09-18  1:54                   ` John MACFARLANE
2015-09-17 21:44           ` John MACFARLANE
     [not found]             ` <20150917214450.GE30437-4kKid1p5UN4xFjuZnxJpBp3lxR28IOakuDuwTybUTCk@public.gmane.org>
2015-09-17 22:01               ` Joseph Reagle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).