acsi-core 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -2076,10 +2076,10 @@ LatexExtractor.LATEX_PATTERNS = [/[a-zA-Z0-9]_\{[^}]*\}/g, /[a-zA-Z0-9]\^\{[^}]*
|
|
|
2076
2076
|
var MarkdownRenderer = function MarkdownRenderer(_ref) {
|
|
2077
2077
|
var content = _ref.content;
|
|
2078
2078
|
var formattedContent = formatContent(content);
|
|
2079
|
-
return React.createElement(ReactMarkdown, {
|
|
2079
|
+
return React.createElement("span", null, React.createElement(ReactMarkdown, {
|
|
2080
2080
|
remarkPlugins: [remarkMath],
|
|
2081
2081
|
rehypePlugins: [rehypeKatex, rehypeRaw]
|
|
2082
|
-
}, formattedContent);
|
|
2082
|
+
}, formattedContent));
|
|
2083
2083
|
};
|
|
2084
2084
|
function formatContent(content) {
|
|
2085
2085
|
if (!content || content.trim() === "") {
|