We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was using Hugo, when an rendering error occured.
The output from the code
package main import ( "fmt" "github.com/russross/blackfriday" ) func main() { strings := []string{"„*Hautab*“", "„**Hautab**“", "„***Hautab***“"} for _, v := range strings { parsed := blackfriday.MarkdownCommon([]byte(v)) fmt.Printf("%s", parsed) } }
is
<p>„*Hautab*“</p> <p>„<strong>Hautab</strong>“</p> <p>„<strong><em>Hautab</em></strong>“</p>
when „*Hautab*“ should obviously be rendered to <p>„<em>Hautab</em>“</p>.
„*Hautab*“
<p>„<em>Hautab</em>“</p>
It might have something to do with the fact, that I'm using utf8 quotation marks.
The text was updated successfully, but these errors were encountered:
I think this is because of the unicode of „ now the we walk through input by char instead of rune
„
Sorry, something went wrong.
Here's a possible workaround, if it's feasible for you: turn off EXTENSION_NO_INTRA_EMPHASIS and it works as you expect.
EXTENSION_NO_INTRA_EMPHASIS
No branches or pull requests
I was using Hugo, when an rendering error occured.
The output from the code
is
when
„*Hautab*“
should obviously be rendered to<p>„<em>Hautab</em>“</p>
.It might have something to do with the fact, that I'm using utf8 quotation marks.
The text was updated successfully, but these errors were encountered: