aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct
diff options
context:
space:
mode:
Diffstat (limited to 'src/construct')
-rw-r--r--src/construct/gfm_table.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/construct/gfm_table.rs b/src/construct/gfm_table.rs
index 646b17f..998bd09 100644
--- a/src/construct/gfm_table.rs
+++ b/src/construct/gfm_table.rs
@@ -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
@@ -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;