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 Nokogiri::XML::Node#line= #1918

Merged
merged 1 commit into from Nov 26, 2019
Merged

Add Nokogiri::XML::Node#line= #1918

merged 1 commit into from Nov 26, 2019

Commits on Aug 10, 2019

  1. Add Nokogiri::XML::Node#line=

    Add support for setting the line number on elements from Ruby. This only
    works when Nokogiri uses `libxml2`.
    
    Line numbers less than 65535 may be set. Larger line numbers require
    `libxml2` to be compiled with a particular option and even then, it is
    buggy. See https://bugzilla.gnome.org/show_bug.cgi?id=767138.
    stevecheckoway committed Aug 10, 2019
    Copy the full SHA
    a730f85 View commit details
    Browse the repository at this point in the history