Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3264 from drmacro/feature/fix-conref-to-specializ…
…ation Use last-token-of-class att rather than local name to check target el…
- Loading branch information
Showing
4 changed files
with
41 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/test/resources/conref_to_specialization/exp/preprocess/conref_to_specialization.dita
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<topic xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" class="- topic/topic " | ||
ditaarch:DITAArchVersion="1.3" domains="(topic hi-d)" id="topic" xml:lang="en"> | ||
<title class="- topic/title ">Conref test for #3264</title> | ||
<body class="- topic/body "> | ||
<p class="- topic/p " id="test">apiref element (specialization of keyword): | ||
<apiref class="+ topic/keyword api-d/apiref " id="apiref">APIREF element</apiref> | ||
</p> | ||
<p class="- topic/p ">Conref from keyword: | ||
<keyword class="- topic/keyword ">APIREF element</keyword> | ||
</p> | ||
</body> | ||
</topic> |
12 changes: 12 additions & 0 deletions
12
src/test/resources/conref_to_specialization/src/conref_to_specialization.dita
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<topic class="- topic/topic " domains="(topic hi-d)" id="topic" ditaarch:DITAArchVersion="1.3" xml:lang="en" | ||
xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"> | ||
<title class="- topic/title ">Conref test for #3264</title> | ||
<body class="- topic/body "> | ||
<p class="- topic/p " id="test">apiref element (specialization of keyword): | ||
<apiref class="+ topic/keyword api-d/apiref " id="apiref">APIREF element</apiref> | ||
</p> | ||
<p class="- topic/p ">Conref from keyword: | ||
<keyword class="- topic/keyword " conref="#./apiref"/> | ||
</p> | ||
</body> | ||
</topic> |