simple_html_css_flutter
simple_html_css_flutter copied to clipboard
Allow bypassing HTML content unescaping
As suggested in https://github.com/ali-thowfeek/simple_html_css_flutter/issues/17#issuecomment-1772417562, this PR:
- Adds a
unescapeContentboolean flag to bothtoTextSpanandtoRichText. - Default value is set to
truefor backward compatibility.
I think, the pub credentials need to be updated (a repository secret named CREDENTIALS).
With the output of: cat ~/Library/"Application Support"/dart/pub-credentials.json
@fjwong would you be able to bump the version number and update the changelog?
@nohli I'm sorry I haven't used flutter in a long time, so i had to set it up in my new laptop. Still, I saw that I had already setup repository secret: CREDENTIALS. But I can't remember if it was setup correctly or not. So I tried to update but i couldn't find pub-credentials.json file.
Maybe calling flutter pub publish --dry-run from the package folder opens the login for creating those credentials.
Are you on macOS?
@fjwong would you be able to bump the version number and update the changelog?
@ali-thowfeek Sure, done.
Maybe calling
flutter pub publish --dry-runfrom the package folder opens the login for creating those credentials.Are you on macOS?
I tried dry run and also login, still couldn't find it but then I found it here /Users/[username]/.pub-cache/credentials.json, yet it doesn't seem to work :(
And @nohli I would have to rely on you completely for this PR as I couldn't yet set up the environment and test run this.
Any news about this PR ? Can be really useful 👍