-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Handle unsupported attributes in Markdown conversion + horizontal lines #418
base: master
Are you sure you want to change the base?
Handle unsupported attributes in Markdown conversion + horizontal lines #418
Conversation
…al rules for dark themes
# Conflicts: # packages/fleather/lib/src/widgets/editor.dart # packages/fleather/lib/src/widgets/theme.dart
…headings localizations
# Conflicts: # packages/fleather/lib/src/widgets/editor_toolbar.dart
Thank you @maelchiotti, will take a look as soon as I find some time |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #418 +/- ##
==========================================
+ Coverage 87.94% 87.97% +0.02%
==========================================
Files 62 62
Lines 10364 10443 +79
==========================================
+ Hits 9115 9187 +72
- Misses 1249 1256 +7 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @maelchiotti for this PR and very sorry for the late review
See my comments inline
More generally, you seem to tackle only the decoding part, did you intentionally ignore the encoding?
Also, we had mentioned the replacement of unsupported embeds with [object]
Lastly, can you prove this works with some tests please and remove the localization file from the PR?
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maelchiotti let me know if you want me to contribute to your PR
Thanks, I'll take a look at your review in a week or two, work on the encoding part that is missing, and I'll let you know where I could use some help! |
…ported_attributes' into markdown_conversion_handle_unsupported_attributes
@amantoux I made the changes you requested in the comments, and added the [object] replacement. I did not handle the decoding part (you mixed up encoding and decoding in your comment btw) because I couldn't really understand how it works. Feel free to do it yourself and I'll read your code to see how you did it. I've also added a very simple test for the encoding, let me know if you think I should write more to cover more cases? |
fixes #405