From 6e9447b5ec7f1823b7d08ed8f51eed23d3856cce Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 28 Jun 2022 16:54:37 +0200 Subject: Add docs to label end --- src/construct/label_start_image.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/construct/label_start_image.rs') diff --git a/src/construct/label_start_image.rs b/src/construct/label_start_image.rs index 97231e0..7725334 100644 --- a/src/construct/label_start_image.rs +++ b/src/construct/label_start_image.rs @@ -7,11 +7,10 @@ //! label_start_image ::= '!' '[' //! ``` //! -//! Label start (images) relates to the `` element in HTML. +//! Label start (image) does not, on its own, relate to anything in HTML. +//! When matched with a [label end][label_end], they together relate to the +//! `` element in HTML. //! See [*ยง 4.8.3 The `img` element*][html-img] in the HTML spec for more info. -//! -//! Whether it contributes an image depends on whether it is followed by a -//! valid [label end][label_end] or not. //! Without an end, the characters (`![`) are output. //! //! ## Tokens -- cgit