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

Rendering hangs on some malformed govspeak #296

Open
nacnudus opened this issue Nov 22, 2023 · 0 comments
Open

Rendering hangs on some malformed govspeak #296

nacnudus opened this issue Nov 22, 2023 · 0 comments

Comments

@nacnudus
Copy link

Rendering the following malformed govspeak string hangs for ages before failing altogether. It would be more helpful to quickly return an error.

govspeak = <<-END_GOVSPEAK               
$LegislativeList                         
* Item                                   
  $EndLegislativeList                    
END_GOVSPEAK                             
Govspeak::Document.new(govspeak).to_html 
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

1 participant