Ray's back-end modifications for sub-roles
This commit is contained in:
1 parent
62aaf79491
commit
75c9851dbc
10 files changed
+83
-35
No files matched your search
@@ -33,4 +33,12 @@ module ParserLayout
|
||||
end
|
||||
end
|
||||
|
||||
def parse_html_image(html)
|
||||
html.scan(/(?<=\<img)(.*?)(?=\/\>)/){
|
||||
$1.gsub(' ','').scan(/(?<=src=\")(.*?)(?=\")/){
|
||||
return File.basename($1).gsub(/[\\\"]/, '')
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user