Skip to content

Commit d7b7d2c

Browse files
committed
Fix typo in docs
1 parent a3515c2 commit d7b7d2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/construct/gfm_table.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
//! [*§ 4.9.8 The `tr` element*][html_tr]
146146
//! in the HTML spec for more info.
147147
//!
148-
//! If the the alignment of a column is left, right, or center, a deprecated
148+
//! If the alignment of a column is left, right, or center, a deprecated
149149
//! `align` attribute is added to each `<th>` and `<td>` element belonging to
150150
//! that column.
151151
//! That attribute is interpreted by browsers as if a CSS `text-align` property
@@ -972,6 +972,8 @@ fn flush_cell(
972972
content: Content::Text,
973973
});
974974

975+
// To do: positional info of the remaining `data` nodes likely have
976+
// to be fixed.
975977
if range.3 > range.2 + 1 {
976978
let a = range.2 + 1;
977979
let b = range.3 - range.2 - 1;

0 commit comments

Comments
 (0)