lib/relaton_ietf/rfc_entry.rb in relaton-ietf-1.9.3 vs lib/relaton_ietf/rfc_entry.rb in relaton-ietf-1.9.4
- old
+ new
@@ -71,10 +71,10 @@
# Create PubID
#
# @return [String] PubID
#
def pub_id
- "IETF #{code}"
+ "IETF #{code.sub(/^(RFC)(\d+)/, '\1 \2')}"
end
#
# Parse document code
#