confluencebuilder icon indicating copy to clipboard operation
confluencebuilder copied to clipboard

Double quotes in code-block title doesn't work

Open vills opened this issue 3 years ago • 2 comments

I think i found a bug when using double quotes in title (caption) in code-block block.

For example:

.. code-block:: python
   :caption: example "import everything"

   from module import *

caption attribute value renders in confluence as default paragraph text right before code block without title.

Versions:

  • sphinx: 4.5.0
  • sphinxcontrib-confluencebuilder: 1.8.0
  • confluence: 7.4.11

Thanks!

vills avatar May 18 '22 12:05 vills

Thanks for the information/example.

Changes have been added in #651 to correct the issue where in some scenarios the caption value would not be cached and applied to a built code macro. This change has been added into the main branch and should be made available next stable release. If blocked by this issue before a release is made, the development version of this extension can be installed.

jdknight avatar May 21 '22 16:05 jdknight

Checked code from master branch and it works correct now. Much thanks!

vills avatar May 23 '22 13:05 vills

v1.9 is now available on PyPI -- marking as closed.

jdknight avatar Aug 21 '22 18:08 jdknight