-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add markup checks for figure captions
Adding some unit tests to verify the processing non-simple text for captions (i.e. additional markup for text). Previous implementations had caption data malformed, and these checks should help prevent this from happening again. Signed-off-by: James Knight <[email protected]>
- Loading branch information
Showing
2 changed files
with
70 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. https://docutils.sourceforge.io/docs/ref/rst/directives.html#figure | ||
figure | ||
------ | ||
|
||
.. figure with caption | ||
.. figure:: ../../../assets/image03.png | ||
|
||
**caption** with *markup* | ||
|
||
legend |
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