* Removed unapprovals, added post flags and post appeals (still need to update tests)
* Restyled text
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
require 'cgi'
|
||||
require 'uri'
|
||||
|
||||
class DText
|
||||
def self.u(string)
|
||||
CGI.escape(string)
|
||||
end
|
||||
|
||||
def self.h(string)
|
||||
CGI.escapeHTML(string)
|
||||
end
|
||||
|
||||
def self.parse_inline(str, options = {})
|
||||
str = parse_aliased_wiki_links(str)
|
||||
str = parse_wiki_links(str)
|
||||
|
||||
Reference in New Issue
Block a user