Skip to content

Commit 7c8e829

Browse files
SomeoneToIgnoretidely
authored andcommitted
Revert "markdown: Add support for inline HTML img tags inside text (zed-industries#37264)" (zed-industries#37893)
This reverts commit e1a5d29. This have regressed Zed release notes' wrapping which we do not want to do on a release day: zed-industries#37264 (comment) Release Notes: - N/A
1 parent a059884 commit 7c8e829

File tree

3 files changed

+86
-172
lines changed

3 files changed

+86
-172
lines changed

crates/markdown_preview/src/markdown_elements.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ pub struct ParsedMarkdownText {
155155
/// Where the text is located in the source Markdown document.
156156
pub source_range: Range<usize>,
157157
/// The text content stripped of any formatting symbols.
158-
pub contents: SharedString,
158+
pub contents: String,
159159
/// The list of highlights contained in the Markdown document.
160160
pub highlights: Vec<(Range<usize>, MarkdownHighlight)>,
161161
/// The regions of the various ranges in the Markdown document.

0 commit comments

Comments
 (0)