https://bugs.documentfoundation.org/show_bug.cgi?id=94488

Rafael Lima <rafael.palma.l...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ilmari.lauhakangas@libreoff
                   |                            |ice.org,
                   |                            |rafael.palma.l...@gmail.com

--- Comment #6 from Rafael Lima <rafael.palma.l...@gmail.com> ---
I ran a test locally and indeed this does not work. Inserting a <embedvar>
inside a <link> tag will not render as a link. This is mainly because a
<variable> can contain a <link> inside it, so the example you gave could result
in problems because it would result in a link inside a link.

I understand why you would like to write something like the example you gave,
however the current practice in writing help pages is something like this:

<h1 id="bm_id781582391760253" xml-lang="en-US"><variable id="ctrls_h1"><link
href="text/sbasic/shared/03/sf_dialogcontrol.xhp" name="SFDialogs.DialogControl
service"><literal>SFDialogs</literal>.<literal>DialogControl</literal>
service</link></variable></h1>

You insert the link inside the variable. Then when you want to embed it
anywhere else (using <embed> or <embedvar>), it will include the link.

<embed href="text/sbasic/shared/03/sf_dialogcontrol.xhp#ctrls_h1"/>

or

<paragraph role="paragraph" id="par_id101611112328498">Test link to <embedvar
href="text/sbasic/shared/03/sf_dialogcontrol.xhp#ctrls_h1"/></paragraph>

I don't think it is possible to change this behavior now, because it might
result in breaking many help pages.

My take is WF... Ilmari, what is your view? Is this possible?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to