Skip to content

Commit

Permalink
fix: update emoji generator in modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Jul 2, 2024
1 parent 114b01d commit 5e443f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modulegen/internal/mkdocs/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ func overrideData(data []byte) []byte {

func setEmoji(content string, key string, value string) string {
old := "emoji_" + key + `: ""`
new := "emoji_" + key + ": !!python/name:materialx.emoji." + value
new := "emoji_" + key + ": !!python/name:material.extensions.emoji." + value
return strings.ReplaceAll(content, old, new)
}

0 comments on commit 5e443f9

Please sign in to comment.