-
-
Notifications
You must be signed in to change notification settings - Fork 888
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
Lists not handled correctly [1.0.0] #106
Comments
First of all: this library works great so far! However, we have a pretty list-heavy webpage to display and this issue kills the layout. |
Which version of |
We are using Here's some HTML and two screenshots, one with The code is not pretty, but it's autogenerated, so I'm not that flexible. The obvious alternative here is to switch to a "real" webview. However, one of my colleagues implemented this with <div id="iubenda_policy" class="iubenda_fluid_policy iubenda_embed_policy ">
<div id="wbars_all">
<div class="iub_container iub_base_container">
<div id="wbars">
<div class="iub_content legal_pp">
<div class="iub_header">
<h1>Privacy Policy of <strong>xxxxxxxx</strong></h1>
<p>This Application collects some Personal Data from its Users.</p>
</div> <!-- /header -->
<div class="simple_pp">
<div class="one_line_col">
<h2 style="text-align: center; font-variant:small-caps;">Policy summary</h2>
</div> <!-- /one_line_col -->
<h2 id="purposes_data">Personal Data collected for the following purposes and using the following
services:</h2>
<ul class="for_boxes cf">
<li class="one_line_col">
<ul class="for_boxes">
<li>
<div class="iconed policyicon_purpose_5">
<h3>Analytics</h3>
<ul class="unstyled">
<li>
<h3>Google Analytics for Firebase</h3>
<p>Personal Data: Application opens; Application updates; Cookies; device information; first
launches; geography/region; In-app purchases; number of sessions; number of Users ;
operating systems; session duration; unique device identifiers for advertising (Google
Advertiser ID or IDFA, for example); Usage Data</p>
</li>
<li>
<h3>Google Analytics</h3>
<p>Personal Data: Cookies; Usage Data</p>
</li>
</ul>
</div>
</li>
<li>
<div class="iconed policyicon_purpose_17">
<h3>Location-based interactions</h3>
<ul class="unstyled">
<li>
<h3>Non-continuous geolocation</h3>
<p>Personal Data: geographic position</p>
</li>
</ul>
</div>
</li>
... |
There's going to be a pretty big change in the way the package parses the html in version 1.0.0 of The fixes for lists probably won't be released until 1.0.0 is released. I'll be releasing some preview builds of 1.0.0 in the next month or so that contain those fixes if you're willing to switch to a less stable Flutter release channel (currently the dev channel), but I understand this isn't great for a production app, so you're best bet now is probably to use the webview plugin. |
Thank you for the status update on this. |
Any way I can get around this issue? |
This has been fixed in 1.0.0. See #122 for updates on its release. |
List items with content that wraps wraps so that it places content underneath the list character, rather than to the right of the list character. Additionally,
ol
list characters should not affect the left margin of the list item's content.The text was updated successfully, but these errors were encountered: