diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-11-03 23:48:04 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-11-04 00:11:45 +0700 |
| commit | b2e643886287d7040b059606b363c69342ae4adf (patch) | |
| tree | 25f72eec531cffd68cd5f069b7035ddce2697c8b /testdata | |
| parent | d46ea117cae9981b1bbd7db9c87dcb3a6f636560 (diff) | |
| download | asciidoctor-go-b2e643886287d7040b059606b363c69342ae4adf.tar.xz | |
all: support inline image with link option
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/got.test.html | 5 | ||||
| -rw-r--r-- | testdata/test.adoc | 1 | ||||
| -rw-r--r-- | testdata/test.html | 5 |
3 files changed, 9 insertions, 2 deletions
diff --git a/testdata/got.test.html b/testdata/got.test.html index ceea7b8..b6456af 100644 --- a/testdata/got.test.html +++ b/testdata/got.test.html @@ -1444,6 +1444,9 @@ You can find Linux everywhere these days!</p> <div class="paragraph"> <p><span class="image right"><img src="sunset.jpg" alt="Sunset" width="150" height="150"></span> What a beautiful sunset!</p> </div> +<div class="paragraph"> +<p>Image with link <span class="image"><a class="image" href="https://kilabit.info"><img src="sunset.jpg" alt="Sunset"></a></span>.</p> +</div> </div> </div> </div> @@ -1916,7 +1919,7 @@ and then moves on.</pre> <div id="footer"> <div id="footer-text"> Version 1.1.1<br> -Last updated 2020-11-03 03:45:17 +0700 +Last updated 2020-11-03 23:34:10 +0700 </div> </div> </body> diff --git a/testdata/test.adoc b/testdata/test.adoc index 5ff30cb..ef9809d 100644 --- a/testdata/test.adoc +++ b/testdata/test.adoc @@ -613,6 +613,7 @@ You can find Linux everywhere these days! image:sunset.jpg[Sunset,150,150,role="right"] What a beautiful sunset! +Image with link image:sunset.jpg[Sunset,link="https://kilabit.info"]. == Block open diff --git a/testdata/test.html b/testdata/test.html index b01d4a7..9750b93 100644 --- a/testdata/test.html +++ b/testdata/test.html @@ -1450,6 +1450,9 @@ You can find Linux everywhere these days!</p> <div class="paragraph"> <p><span class="image right"><img src="sunset.jpg" alt="Sunset" width="150" height="150"></span> What a beautiful sunset!</p> </div> +<div class="paragraph"> +<p>Image with link <span class="image"><a class="image" href="https://kilabit.info"><img src="sunset.jpg" alt="Sunset"></a></span>.</p> +</div> </div> </div> </div> @@ -1918,7 +1921,7 @@ and then moves on.</pre> <div id="footer"> <div id="footer-text"> Version 1.1.1<br> -Last updated 2020-11-03 03:45:16 +0700 +Last updated 2020-11-03 23:34:10 +0700 </div> </div> </body> |
