Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improved change log.

  • Loading branch information...
commit 54bd95664790b1c6d97073214aa277823f4ff3ba 1 parent 03b2713
@DAddYE DAddYE authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/base.rb
View
2  app/controllers/base.rb
@@ -19,7 +19,7 @@
logger.debug "Getting Change Log"
rdoc = open("https://github.com/padrino/padrino-framework/raw/master/CHANGES.rdoc").read
rdoc.gsub!(/\= CHANGES\n\n/,'') # remove redundant <h1>CHANGES</h1>
- rdoc.gsub!(/\(@(.*)\)/, '({@\1}[https://github.com/\1])')
+ rdoc.gsub!(/\(@(.*)\)/, '(<b>{@\1}[https://github.com/\1])</b>')
rdoc.gsub!(/#(\d+)/, '{#\1}[https://github.com/padrino/padrino-framework/issues/\1]')
@html = render :rdoc, rdoc
@html.sub!(/^<h2>/, '<h2 style="border-top:none">') # remove border from the first h2
Please sign in to comment.
Something went wrong with that request. Please try again.