VANILLA: the name is actually the username (WAT)

This commit is contained in:
Régis Hanol
2014-08-22 10:11:12 +02:00
parent 12b0d5b7bb
commit 071325ab98
2 changed files with 8 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class ImportScripts::Vanilla < ImportScripts::Base
u = {
id: user[:user_id],
email: user[:email],
name: user[:name],
username: user[:name],
created_at: parse_date(user[:date_inserted]),
bio_raw: clean_up(bio_raw),
avatar_url: user[:photo],
@ -245,7 +245,7 @@ class ImportScripts::Vanilla < ImportScripts::Base
.gsub("&lt;", "<")
.gsub("&gt;", ">")
# .gsub(/`([^`]+)`/im) { "`" + $1.gsub("*", "\u2603") + "`" }
# .gsub("*", "\*")
# .gsub("*", "\\*")
# .gsub("\u2603", "*")
end