File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -666,9 +666,11 @@ fn galley_from_rows(
666
666
num_indices += row. visuals . mesh . indices . len ( ) ;
667
667
668
668
row. section_index_at_start = u32:: MAX ; // No longer in use.
669
- for glyph in & mut row. glyphs {
670
- glyph. section_index = u32:: MAX ; // No longer in use.
671
- }
669
+
670
+ // MEMBRANE: Keep these values since we use them to render Markdown
671
+ // for glyph in &mut row.glyphs {
672
+ // glyph.section_index = u32::MAX; // No longer in use.
673
+ // }
672
674
}
673
675
674
676
let mut galley = Galley {
Original file line number Diff line number Diff line change @@ -677,7 +677,8 @@ pub struct Glyph {
677
677
/// Only used during layout, then set to an invalid value in order to
678
678
/// enable the paragraph-concat optimization path without having to
679
679
/// adjust `section_index` when concatting.
680
- pub ( crate ) section_index : u32 ,
680
+ /// MEMBRANE: Keep these values since we use them to render Markdown
681
+ pub section_index : u32 ,
681
682
}
682
683
683
684
impl Glyph {
You can’t perform that action at this time.
0 commit comments