Skip to content

Commit

Permalink
Merge pull request #562 from BenRussert/inspect-markdown
Browse files Browse the repository at this point in the history
Allow text/markdown code inspect results
  • Loading branch information
lgeiger authored Dec 27, 2016
2 parents 5a40a15 + 26e2bdb commit 4372845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class Inspector {

this._lastInspectionResult = message;
return;
} else if (mimetype === 'text/html') {
} else if (mimetype === 'text/html' || mimetype === 'text/markdown') {
const container = document.createElement('div');
container.appendChild(el);
const message = container.innerHTML;
Expand Down

0 comments on commit 4372845

Please sign in to comment.