+ + {{ $images := findRE " + {{ end }} + + + {{ $reAltIn := "\"([^\"]+)?\"" }} + {{ $reAltOut := ( printf "
\"$2\"
$2
" $cdn_url ) }} + {{ $altContent := .Content | replaceRE $reAltIn $reAltOut | safeHTML }} + {{ $reAltTitleIn := "\"([^\"]+)?\"" }} + {{ $reAltTitleOut := ( printf "
\"$2\"
$2
" $cdn_url ) }} + {{ $finalContent := $altContent | replaceRE $reAltTitleIn $reAltTitleOut | safeHTML }} + {{ $finalContent }} +