divi255 / sphinxcontrib.asciinema

Easily embed asciinema videos into Sphinx documentation
MIT License
21 stars 12 forks source link

Content below local asciinema is hidden #15

Closed zerocewl closed 3 years ago

zerocewl commented 3 years ago

NOTE: This bug comes with changes from 0.2.1 to 0.3.1.

After an update to version 0.3.1 the content below an asciinema element is hidden. It is using a local file.

If the generated html <asciinema-player ... is manually wrapped into a container like <p>, <span> or <div> the content is visible again.

Maybe the <asciinema-player {options} src="data:application/json;base64,{src}" /> should be moved into a container?

Available workarounds:

.. container:: custom

   .. asciinema:: examples/test.cast
      :title: test me

I'm hidden if the container is removed.
divi255 commented 3 years ago

Hi. Sorry for the delay, will take a look soon

divi255 commented 3 years ago

it looks tag just needs to be closed in HTML way. fixed in 0.3.2