missed a thing

This commit is contained in:
Tommy Parnell
2022-03-11 09:57:44 -05:00
parent 5b68e3898b
commit 8059112810

View File

@@ -34,7 +34,7 @@ const httpTrigger: AzureFunction = async function (context: Context, req: HttpRe
const highlightedCleaned = highlighted.trim() const highlightedCleaned = highlighted.trim()
context.res = { context.res = {
status: 200, status: 200,
body: `<pre><code>${highlightedCleaned}</code></pre>` body: `<pre class="language-${lang}"><code class="language-${lang}">${highlightedCleaned}</code></pre>`
} }
return return