diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-11-07 23:44:14 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-11-08 00:44:24 -0700 |
| commit | f28e26bd586d08ae2c639f7881eba7d1dba2bc1a (patch) | |
| tree | 58fee93b33ad87208be9ee33d208a0cfc9a845f1 | |
| parent | ea1693989894b7a42041468104ee212a39ef3f54 (diff) | |
add test to verify title of formal paragraph is used as fallback reftext
| -rw-r--r-- | features/xref.feature | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/features/xref.feature b/features/xref.feature index ec14ce41..0314ec50 100644 --- a/features/xref.feature +++ b/features/xref.feature @@ -552,6 +552,26 @@ Feature: Cross References |to find a table of features. """ + Scenario: Create a basic cross reference to a formal paragraph + Given the AsciiDoc source + """ + <<terms>> apply. + + .Terms and conditions + [#terms] + These are the terms and conditions. + """ + When it is converted to html + Then the result should match the HTML structure + """ + .paragraph: p + a> href='#terms' Terms and conditions + |apply. + #terms.paragraph + .title Terms and conditions + p These are the terms and conditions. + """ + Scenario: Create a full cross reference to a formal image block Given the AsciiDoc source """ |
