parsiya / Hugo-Shortcodes

Parsia's Hugo Shortcodes
MIT License
106 stars 14 forks source link

blockquote scrambles output #6

Closed paskal closed 6 years ago

paskal commented 6 years ago

Hello!

Thank you very much for your blockquote plugin, it's amazing! However, I found a little difference with original one which I think might be considered a problem: image

Here is the source code of fragment:

{{< blockquote author="Paul Graham" title="Write Like You Talk" link="http://www.paulgraham.com/talk.html" >}}
Here's a simple trick for getting more people to read what you write: write in spoken language.

Something comes over most people when they start writing. They write in a different language than they'd use if they were talking to a friend. The sentence structure and even the words are different. No one uses "pen" as a verb in spoken English. You'd feel like an idiot using "pen" instead of "write" in a conversation with a friend.

<...>

You don't need complex sentences to express complex ideas. When specialists in some abstruse topic talk to one another about ideas in their field, they don't use sentences any more complex than they do when talking about what to have for lunch. They use different words, certainly. But even those they use no more than necessary. And in my experience, the harder the subject, the more informally experts speak. Partly, I think, because they have less to prove, and partly because the harder the ideas you're talking about, the less you can afford to let language get in the way.

<...>

People often tell me how much my essays sound like me talking. The fact that this seems worthy of comment shows how rarely people manage to write in spoken language. Otherwise everyone's writing would sound like them talking.

If you simply manage to write in spoken language, you'll be ahead of 95% of writers. And it's so easy to do: just don't let a sentence through unless it's the way you'd say it to a friend.
{{< /blockquote >}}
parsiya commented 6 years ago

Thanks for reporting this. I am going to look at it tonight. Inner is handled like this:

which might not be correct way to do. Handing it to markdownify might do the trick.

Will let you know

parsiya commented 6 years ago

Thanks for the report. Sorry about the delay. Markdownify did the trick. Please let me know if this breaks anything else. I have also updated the blockquote test with your sample:

image