PlaidWeb / Publ

Flexible publishing system for the web
http://publ.beesbuzz.biz/
MIT License
40 stars 4 forks source link

Newlines being preserved in autogenerated summary #489

Open fluffy-critter opened 2 years ago

fluffy-critter commented 2 years ago

Expected Behavior

The initial extracted paragraph should be processed as Markdown and treated as a single paragraph in the og:description tag

Current Behavior

An entry like:

TItle: foo

This is a test
of whitespace
wrapping

gets an og:description like:

<meta property="og:description" content="This is a test
of whitespace
wrapping">

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

This is probably related to #468 somehow