Skip to content

Commit 85969eb

Browse files
HeyItsGilbertclaude
andcommitted
Disable goldmark unsafe HTML renderer
No content files use raw HTML that requires the unsafe renderer — the one exception (a 2008 podcast post with <p> and <br />) is converted to plain markdown. Disabling unsafe prevents raw HTML/JS in any markdown file from rendering, which limits the blast radius of future content injection vulnerabilities. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 11fb9b1 commit 85969eb

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

content/podcast/2008-03-16-one-liner-countdown-timer-in-powershell.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Here's a quick one for ya. Perfect kitchen timer. Who doesn't have a laptop with
1313

1414

1515
start-sleep (60*9); write-host ("`a"*4)</pre>
16-
<p>Start-Sleep works in seconds, so you see where I've done some quick<br />
17-
math to get nine minutes. Not sure if the ()'s were required, but they<br />
18-
don't hurt. I didn't know the precedence of parameter parsing versus<br />
19-
multiplication off the top of my head. Next is Write-Host with some<br />
16+
Start-Sleep works in seconds, so you see where I've done some quick
17+
math to get nine minutes. Not sure if the ()'s were required, but they
18+
don't hurt. I didn't know the precedence of parameter parsing versus
19+
multiplication off the top of my head. Next is Write-Host with some
2020
more multiplication. This one uses "`a" which is the special character
2121

2222
which emits a beep (old schoolers know this as the ASCII code for

hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pagination:
1616
markup:
1717
goldmark:
1818
renderer:
19-
unsafe: true
19+
unsafe: false
2020
highlight:
2121
style: github
2222
lineNos: true

0 commit comments

Comments
 (0)