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

Add option to enabled/disable wrapping to support empty lines in HTML #235

Merged
merged 5 commits into from
Nov 20, 2023

Conversation

asimonok
Copy link
Collaborator

@asimonok asimonok commented Nov 15, 2023

Resolves #222

Content

<figure class=" rounded-xl ">
  <ul class="w-96  rounded-full border-1">
    <li class="h-px my-4 border-0 animate-pulse  ">
      Not Started : 235
    </li>

    <li class="h-px my-8 bg-stone-600 border-0 dark:bg-gray-700">
      In Progress : 300
    </li>

    <li class="h-px my-8 bg-stone-600 border-0 dark:bg-gray-700">
      Completed : 100
    </li>

  </ul>
</figure>

Result with wrap
Screenshot 2023-11-15 at 17 17 13

Result with no wrap
Screenshot 2023-11-15 at 17 17 18

@asimonok asimonok self-assigned this Nov 15, 2023
@asimonok asimonok changed the title Add option to enabled/disable wrapping lines in paragraphs Add option to enabled/disable wrapping to support empty lines in HTML Nov 15, 2023
Copy link

codecov bot commented Nov 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (15bf8fa) 98.95% compared to head (5106ad1) 98.96%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #235      +/-   ##
==========================================
+ Coverage   98.95%   98.96%   +0.01%     
==========================================
  Files          35       36       +1     
  Lines         381      385       +4     
  Branches       48       49       +1     
==========================================
+ Hits          377      381       +4     
  Misses          3        3              
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mikhail-vl mikhail-vl requested review from a team and removed request for mikhail-vl November 19, 2023 23:47
@mikhail-vl mikhail-vl added this to the Version 4.2.0 milestone Nov 19, 2023
@mikhail-vl mikhail-vl added the enhancement New feature or request label Nov 19, 2023
Copy link
Member

@mikhail-vl mikhail-vl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@mikhail-vl mikhail-vl merged commit e85dc1c into main Nov 20, 2023
6 checks passed
@mikhail-vl mikhail-vl deleted the feat/wrap-option branch November 20, 2023 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

if html has line breaks then rendering does not work
2 participants