PlaidWeb / Publ

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

Description should handle tables better #478

Closed fluffy-critter closed 2 years ago

fluffy-critter commented 2 years ago

Expected Behavior

If the first element in an article is a table, it should display as (table) or similar in the summary

Current Behavior

The summary/unfurl gets the raw <td> content in an awful way:

<meta property="og:description" content="Time
Systolic
Diastolic
HR
Notes

9:11
120
76
59
Just took dose

9:13
119
78
59
Validation check

10:01
136
90
52
Felt it starting to kick in

10:02
132
86
51

10:20
130
93
52
Feeling a bit bad

10:38
142
99
55
Feeling quite bad

10:46
147
102
54
hi

10:50
136
67
64
the ratio

10:59
140
100
54
am i going to die?

11:17
148
87
50
yeah probably

11:21
151
91
54
if i hit 160 I’m going to the hospital

11:30
156
95
55
really shouldn’t have taken this on an empty stomach, huh" />

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context