Skip to content

Commit

Permalink
Remove fallback from codespan to code option as they have differe…
Browse files Browse the repository at this point in the history
…nt signatures
  • Loading branch information
Hypnosphi committed Dec 11, 2017
1 parent bcd1c89 commit 4e2673c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function createRenderer (tracker, options, overrides = {}) {
const elementId = tracker.nextElementId++;
let inlineContent = null;

const elementType = options.elements && (options.elements[type] || options.elements[tag])
const elementType = options.elements && options.elements[type]

if (children) {
inlineContent = Array.isArray(children) ? children.map(populateInlineContent) : populateInlineContent(children)
Expand Down

0 comments on commit 4e2673c

Please sign in to comment.