Utente:Samuele Papa/common.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 153:
caps[0] = caps[0].replace(/\|/,". ")// replaces | with ". " because it's a chapter
caps[0] = caps[0].replace(/\}\}/,"")//removes remaining }}
// all this processing is needed in order not to remove
//too much information (i.e. all the chapters, versetti etc)
}else{
curBook = caps[0].match(/[0-9]*\s*[A-Za-z]+[^\.]*/)[0];
caps[0] = caps[0].replace(/[0-9]*\s*\D+/,"")
curCap = caps[0].match(/[0-9]+/);
}
|