Skip to content

Commit ea894e3

Browse files
Update comments
Signed-off-by: batu_hoang <55729155+longvatrong111@users.noreply.github.com>
1 parent 4e9e53e commit ea894e3

File tree

1 file changed

+5
-3
lines changed
  • html5ever/src/tree_builder

1 file changed

+5
-3
lines changed

html5ever/src/tree_builder/mod.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ where
13771377
self.insert_element(Push, ns!(html), name, vec![])
13781378
}
13791379

1380-
/// https://html.spec.whatwg.org/multipage/parsing.html#insert-an-element-at-the-adjusted-insertion-location
1380+
/// <https://html.spec.whatwg.org/multipage/parsing.html#insert-an-element-at-the-adjusted-insertion-location>
13811381
fn insert_foreign_element(
13821382
&self,
13831383
tag: Tag,
@@ -1398,7 +1398,8 @@ where
13981398
}
13991399
//§ END
14001400

1401-
/// https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inhead
1401+
/// <https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inhead>
1402+
14021403
/// A start tag whose tag name is "template"
14031404
fn should_attach_declarative_shadow(&self, tag: &Tag) -> bool {
14041405
let adjusted_insertion_location = self.appropriate_place_for_insertion(None);
@@ -1438,7 +1439,8 @@ where
14381439
is_shadow_root_mode && allow_declarative_shadow_roots && adjusted_current_node_not_topmost
14391440
}
14401441

1441-
/// https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inhead
1442+
/// <https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inhead>
1443+
14421444
/// A start tag whose tag name is "template"
14431445
fn attach_declarative_shadow(
14441446
&self,

0 commit comments

Comments
 (0)