Skip to content

Bundle UI codeblocks are not rendering links #499

@alandefreitas

Description

@alandefreitas

Some commit changed the UI bundle and it's not rendering links inside code blocks anymore.

For instance:

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class segments_encoded_ref
    : public xref:boost/urls/segments_encoded_base.adoc[segments_encoded_base]
----

used to render a link for segments_encoded_base (and the default UI bundle still does), and now it just renders a literal segments_encoded_base.

Our UI bundle:

<code class="language-cpp hljs" data-lang="cpp" data-highlighted="yes"><span class="hljs-keyword">class</span> <span class="hljs-title class_">segments_encoded_ref</span>
    : <span class="hljs-keyword">public</span> segments_encoded_base</code>

The default UI bundle:

<code class="language-cpp hljs" data-lang="cpp"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">segments_encoded_ref</span>
    :</span> <span class="hljs-keyword">public</span> <a href="segments_encoded_base.html" class="xref page">segments_encoded_base</a></code>

This is probably related to another bug where a commit changing our UI bundle stopped replacing escaped characters inside code blocks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions