logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hxprune - remove marked elements from an HTML file

Description

hxprune removes specially marked elements (with their content and children) from an HTML file. By default
       it  removes  elements with a class attribute of "exclude". The class attribute is parsed as a whitespace-
       separated list of words and if one of those words is "exclude", the element is not copied to the output.

Name

       hxprune - remove marked elements from an HTML file

Options

       The following options are supported:

       -cclass
              Specify a different class than "exclude".

       -x     Force output to be in XML-style, i.e., without short attributes and with a slash (/) to mark empty
              elements.

7.x                                                10 Jul 2011                                        HXPRUNE(1)

Synopsis

hxprune [ -cclass ] [ -x ] [ file ]

See Also