Skip to content
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

problem rendering <li> with lots of text content #33

Closed
smiLLe opened this issue Oct 31, 2018 · 6 comments
Closed

problem rendering <li> with lots of text content #33

smiLLe opened this issue Oct 31, 2018 · 6 comments

Comments

@smiLLe
Copy link

smiLLe commented Oct 31, 2018

Hi :)
whenever there is a lot of content in an li that requires a line break, the li bullet will not stay in line but above the content.

See screenshot. The bullet in the first line should be in line with the first 'test'
screen shot 2018-10-31 at 16 47 09

Just take this code and try it yourself. Add as many content as needed into the first li to force an linebreak

<ul><li>test test test test test test test test test test test test test test test test test test test test test </li><li>Test2</li></ul>

Thanks :)

@Sub6Resources
Copy link
Owner

Thanks for the report. This is actually the same issue reported in #17. It's just a different manifestation of the same problem. I'm still looking into a fix for it. Haven't found a solution yet, though. Closing as a duplicate for now, if you have any ideas or further comments, feel free to comment on #17.

@Kapranov98
Copy link

I fixed this problem with Row and Expanded:
li.txt

@smiLLe
Copy link
Author

smiLLe commented Nov 5, 2018

@Kapranov98 thanks for the help. may i ask how you implemented _parseNodeList? Your code is located in the customRender callback?

@Kapranov98
Copy link

@smiLLe No, I have implemented the source code of the plugin in my project. You need a few more customization options for your needs. Changes made to the html_parser.dart file. ;)

@smiLLe
Copy link
Author

smiLLe commented Nov 5, 2018

@Kapranov98 ahhh ok got it, thanks :) So this is probably something @Sub6Resources should have a look into?
Any chance you can do a pull request so everyone benefits from your changes?

@Sub6Resources
Copy link
Owner

@Kapranov98 I'd love a pull request so I can implement these changes into the plugin if you would be willing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants