Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use raw HTML description #5

Closed
Tracked by #4
rfdonnelly opened this issue Jan 13, 2022 · 0 comments
Closed
Tracked by #4

Use raw HTML description #5

rfdonnelly opened this issue Jan 13, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rfdonnelly
Copy link
Owner

I initially thought Google Calendar required plaintext so I attempted to transform the SCMA event HTML descriptions to plaintext with intelligent newlines. This actually works fairly well but it does need to treat some more tags as "newline tags" like the heading tags (e.g. <h3>) and some of the formatting (e.g. bold) is lost.

It turns out that Google Calendar event descriptions support HTML or some subset. The below example clearly shows that the raw HTML description renders better. It also simplifies the implementation.

Example

SCMA Event Page

image

Google Calendar Event

Left: Plaintext, Right: Raw HTML

imageimage

@rfdonnelly rfdonnelly added the enhancement New feature or request label Jan 13, 2022
@rfdonnelly rfdonnelly self-assigned this Jan 13, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant