Skip to content

Fix table class name in fixHugoOutput#2897

Merged
gcushen merged 1 commit intoHugoBlox:mainfrom
samysweb:patch-1
Dec 27, 2022
Merged

Fix table class name in fixHugoOutput#2897
gcushen merged 1 commit intoHugoBlox:mainfrom
samysweb:patch-1

Conversation

@samysweb
Copy link
Copy Markdown
Contributor

Purpose

The addClass call must be called with class name only instead of '.table' as class name.
Previously this lead to undesirable behavior because markdown tables would be rendered without the proper CSS classes (see screenshots below).
Since I only noticed this problem just now, I did not create an issue so far.

Screenshots

Old behavior:
grafik
New behavior:
grafik

addClass must be called with class name only instead of '.table' as class name
@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 27, 2022

Deploy Preview for hugo-portfolio-theme canceled.

Name Link
🔨 Latest commit a8bb252
🔍 Latest deploy log https://app.netlify.com/sites/hugo-portfolio-theme/deploys/63ab2b1f1819fc00086e0770
@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 27, 2022

Deploy Preview for markdown-slides canceled.

Name Link
🔨 Latest commit a8bb252
🔍 Latest deploy log https://app.netlify.com/sites/markdown-slides/deploys/63ab2b1fd0e37e0008dbb624
@gcushen gcushen changed the title Repaired table class name in fixHugoOutput Dec 27, 2022
@gcushen gcushen added the bug label Dec 27, 2022
@gcushen gcushen merged commit 549d2cd into HugoBlox:main Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants