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

Preventing issues when there are heading without text #14

Merged
merged 2 commits into from
May 7, 2022

Conversation

mmiranda
Copy link
Owner

@mmiranda mmiranda commented May 6, 2022

This PR fixes the error when file contains a heading without a text under it.

Closes #10

@codecov
Copy link

codecov bot commented May 6, 2022

Codecov Report

Merging #14 (630de3c) into main (879608e) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   91.02%   91.02%           
=======================================
  Files           1        1           
  Lines         156      156           
=======================================
  Hits          142      142           
  Misses          7        7           
  Partials        7        7           
Impacted Files Coverage Δ
markdown/markdown.go 91.02% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 879608e...630de3c. Read the comment docs.

@mmiranda mmiranda merged commit cdaff1a into main May 7, 2022
@mmiranda mmiranda deleted the fix-empty-section branch May 7, 2022 00:02
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

Successfully merging this pull request may close these issues.

Segfault when running
1 participant