Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Allow links and images on legislation drafts #4067

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

microweb10
Copy link
Member

@microweb10 microweb10 commented Jul 25, 2020

References

  • This bug was introduced in commit 9eee79f

Background

Some CONSUL users did have links and/or images on their legislation drafts. They claimed that after upgrading to version 1.1.0 the links and images are gone.

Objectives

Allow links and images on legislation drafts.

@microweb10 microweb10 added the Bug label Jul 25, 2020
@microweb10 microweb10 self-assigned this Jul 25, 2020
@microweb10 microweb10 added this to Reviewing in Consul Democracy via automation Jul 25, 2020
@javierm javierm added the 1.2 label Jul 27, 2020
@javierm javierm self-assigned this Jul 27, 2020
@javierm javierm force-pushed the links_and_images_on_legislation branch from 12c4a88 to 7db87bf Compare August 6, 2020 15:09
Note we're using a new sanitizer. Ideally we'd reuse the
`AdminWYSIWYGSanitizer`, but then code that would be correctly shown by
markdown-it (like the <h1> tag) wouldn't be shown on the web, which is
confusing. Ideally we would configure markdown-it to only allow the tags
present in the `AdminWYSIWYGSanitizer` and provide some kind of help
showing which tags are allowed.
@javierm javierm force-pushed the links_and_images_on_legislation branch from 7db87bf to 151aa60 Compare August 10, 2020 10:21
@taitus taitus self-assigned this Aug 10, 2020
Consul Democracy automation moved this from Reviewing to Testing Aug 10, 2020
@javierm javierm merged commit 5d43b63 into master Aug 10, 2020
Consul Democracy automation moved this from Testing to Release 1.2.0 Aug 10, 2020
@javierm javierm deleted the links_and_images_on_legislation branch August 10, 2020 11:45
@javierm javierm removed the 1.2 label Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants