simple_html_css_flutter icon indicating copy to clipboard operation
simple_html_css_flutter copied to clipboard

Allow bypassing HTML content unescaping

Open fjwong opened this issue 2 years ago • 6 comments

As suggested in https://github.com/ali-thowfeek/simple_html_css_flutter/issues/17#issuecomment-1772417562, this PR:

  • Adds a unescapeContent boolean flag to both toTextSpan and toRichText.
  • Default value is set to true for backward compatibility.

fjwong avatar Oct 22 '23 01:10 fjwong

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

nohli avatar Oct 24 '23 18:10 nohli

@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.

ali-thowfeek avatar Oct 25 '23 06:10 ali-thowfeek

Maybe calling flutter pub publish --dry-run from the package folder opens the login for creating those credentials.

Are you on macOS?

nohli avatar Oct 25 '23 07:10 nohli

@fjwong would you be able to bump the version number and update the changelog?

@ali-thowfeek Sure, done.

fjwong avatar Oct 25 '23 08:10 fjwong

Maybe calling flutter pub publish --dry-run from 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.

ali-thowfeek avatar Oct 25 '23 13:10 ali-thowfeek

Any news about this PR ? Can be really useful 👍

clemeMnt avatar Apr 30 '24 13:04 clemeMnt