diff options
Diffstat (limited to 'src/pretty.rs')
| -rw-r--r-- | src/pretty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pretty.rs b/src/pretty.rs index 397bbc38..49f6fd82 100644 --- a/src/pretty.rs +++ b/src/pretty.rs @@ -141,7 +141,7 @@ impl PrettyWithMap for Node { impl PrettyWithMap for HeadingNode { fn pretty_with_map(&self, p: &mut Printer, map: Option<&NodeMap>) { for _ in 0 .. self.level { - p.push('='); + p.push('#'); } self.contents.pretty_with_map(p, map); } @@ -666,7 +666,7 @@ mod tests { roundtrip("hi"); // Heading. - roundtrip("= *Ok*"); + roundtrip("# *Ok*"); // Raw. roundtrip("``"); |
