check if the paragraph is an text or an None type
remove the posible username of the path
remove the login link
use protocol-relative paths for the import clauses