README.md in sax-machine-1.2.0 vs README.md in sax-machine-1.3.0
- old
+ new
@@ -79,9 +79,11 @@
end
class Atom
include SAXMachine
# Use block to modify the returned value
+ # Blocks are working with pretty much everything,
+ # except for `elements` with `class` attribute
element :title do |title|
title.strip
end
# The :with argument means that you only match a link tag
# that has an attribute of type: "text/html"