Skip to content

Commit

Permalink
feat: allow using HTML in profile bio
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Feb 16, 2025
1 parent d286418 commit 5c2a553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/sidebar/profile/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{- with $author -}}
<div class="profile-name fw-fold fs-lg">{{ .name }}</div>
{{- with .bio -}}
<div class="profile-bio">{{ . }}</div>
<div class="profile-bio">{{ . | safeHTML }}</div>
{{- end -}}
{{- with .company -}}
<div class="profile-company"><i class="fas fa-fw fa-building"></i>{{ . | safeHTML }}</div>
Expand Down

0 comments on commit 5c2a553

Please sign in to comment.