diff --git a/client/SampleCode.jsx b/client/SampleCode.jsx index da4b24f..7e6925b 100644 --- a/client/SampleCode.jsx +++ b/client/SampleCode.jsx @@ -6,7 +6,7 @@ const SampleCode = ({ code, lang }) => { return code === '' ? <>> : ( -
+ ); }; diff --git a/client/helpers/highlight.js b/client/helpers/highlight.js index 84b7868..52d1620 100755 --- a/client/helpers/highlight.js +++ b/client/helpers/highlight.js @@ -5,7 +5,7 @@ const highlight = (input, language) => { const { value } = hljs.highlight(lang, input); const highlighted = value.replace('&', '&').trim(); - return `${highlighted}
`;
+ return `${highlighted}
`;
};
export default highlight;