We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87eb88c commit be73e5cCopy full SHA for be73e5c
src/components/editor/content-viewer.tsx
@@ -143,7 +143,7 @@ export class ContentViewer extends React.Component<ContentViewerProps> {
143
const cachedValue = cache.get(cacheKey) as ObservablePromise<string> | string | undefined;
144
145
const renderingContent = cachedValue ||
146
- this.formatter.render(this.contentBuffer) as ObservablePromise<string> | string;
+ this.formatter.render(this.contentBuffer, this.props.headers) as ObservablePromise<string> | string;
147
if (!cachedValue) cache.set(cacheKey, renderingContent);
148
149
if (typeof renderingContent === 'string') {
0 commit comments