aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2023-05-11 09:40:40 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2023-05-11 09:40:40 +0200
commitd7b7d2ce998dd870da799ab2adfe92df386fb516 (patch)
treed3a3bf16be55fb2725f2778b50966c5b615d5efe /src/construct
parenta3515c2c630b3ba3ab3959b20f7e0163608a7e26 (diff)
downloadmarkdown-rs-d7b7d2ce998dd870da799ab2adfe92df386fb516.tar.gz
markdown-rs-d7b7d2ce998dd870da799ab2adfe92df386fb516.tar.bz2
markdown-rs-d7b7d2ce998dd870da799ab2adfe92df386fb516.zip
Fix typo in docs
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;