Rearrange applyMarkdownSpecial parameters

This commit is contained in:
Matt Baer 2021-06-27 10:35:36 -04:00
parent e983c4527f
commit 276304d5b8
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ func (p *PublicPost) augmentReadingDestination() {
}
func applyMarkdown(data []byte, baseURL string, cfg *config.Config) string {
return applyMarkdownSpecial(data, false, baseURL, cfg)
return applyMarkdownSpecial(data, baseURL, cfg, false)
}
func disableYoutubeAutoplay(outHTML string) string {
@ -141,7 +141,7 @@ func disableYoutubeAutoplay(outHTML string) string {
return outHTML
}
func applyMarkdownSpecial(data []byte, skipNoFollow bool, baseURL string, cfg *config.Config) string {
func applyMarkdownSpecial(data []byte, baseURL string, cfg *config.Config, skipNoFollow bool) string {
mdExtensions := 0 |
blackfriday.EXTENSION_TABLES |
blackfriday.EXTENSION_FENCED_CODE |