Skip to content

Commit

Permalink
Fix typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed May 11, 2023
1 parent a3515c2 commit d7b7d2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/construct/gfm_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
//! [*§ 4.9.8 The `tr` element*][html_tr]
//! in the HTML spec for more info.
//!
//! If the the alignment of a column is left, right, or center, a deprecated
//! If the alignment of a column is left, right, or center, a deprecated
//! `align` attribute is added to each `<th>` and `<td>` element belonging to
//! that column.
//! That attribute is interpreted by browsers as if a CSS `text-align` property
Expand Down Expand Up @@ -972,6 +972,8 @@ fn flush_cell(
content: Content::Text,
});

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

0 comments on commit d7b7d2c

Please sign in to comment.