-
-
Notifications
You must be signed in to change notification settings - Fork 920
Handled relative path in image URLs: #146
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d560278
Handled relative path in image urls:
2039240
Implement li leading char as TextSpan rather than separate widget
amake 4ee8640
Add shrinkToFit option to shrink Html to its natural content width
amake ac97ee9
Update test image URL
amake 431a08f
Organize imports
amake a671d94
Create CONTRIBUTING.md
Sub6Resources c5278bb
change parse to tryParse in image width. Fixes #118
Sub6Resources 247a8f3
Allow negative numbers to fix #97
Sub6Resources f1fe495
Fix image alt attribute (fixes #96)
Sub6Resources f38b56f
Add partial support for sub and remove unused functions
Sub6Resources 059bfe0
Merge branch '0.11.0' into shrink-to-fit
Sub6Resources 52c8927
Merge pull request #148 from amake/shrink-to-fit
Sub6Resources 18950af
Update readme for latest merged pr to show that it fixes #75
Sub6Resources 2e4d2ab
Prepare for release
Sub6Resources a7aa1fd
Merge pull request #152 from Sub6Resources/0.11.0
Sub6Resources 846ae21
Add golden tests for all supported html elements
Sub6Resources c28db9f
Add check for flutter version in tests
Sub6Resources b8644ec
Add screenshot to readme
Sub6Resources d55aa45
Add check for null onLinkTap callback
Sub6Resources 9892279
Try to fix golden tests
Sub6Resources 213efa0
Check that files are loaded correctly in circleci
Sub6Resources 6854229
Update golden files
Sub6Resources 573705e
- Refactored prefixNetworkImageRelativePath -> prefixImagePath
fe51711
Handled relative path in image urls:
2d0bb5e
- Refactored prefixNetworkImageRelativePath -> prefixImagePath
5ea2907
Merge branch 'master' of https://github.com/arnold-parge/flutter_html
b0df4a3
fixed space in imageUrl
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,7 @@ class ImageProperties { | |
| final bool matchTextDirection; | ||
| final FilterQuality filterQuality; | ||
| final double scale; | ||
| final String prefixNetworkImageRelativePath; | ||
|
|
||
| const ImageProperties({ | ||
| this.scale = 1, | ||
|
|
@@ -30,5 +31,6 @@ class ImageProperties { | |
| this.centerSlice, | ||
| this.matchTextDirection = false, | ||
| this.filterQuality = FilterQuality.low, | ||
| this.prefixNetworkImageRelativePath = '' | ||
|
||
| }); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.