Skip to content

Commit

Permalink
Escape NTriples URI when formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Oct 4, 2010
1 parent 2639aa5 commit 542d20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdf/ntriples/writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def format_node(node, options = {})
# @param [Hash{Symbol => Object}] options
# @return [String]
def format_uri(uri, options = {})
"<%s>" % uri_for(uri)
"<%s>" % escaped(uri_for(uri))
end

##
Expand Down

0 comments on commit 542d20c

Please sign in to comment.