Jade function for parsing to html ugly and pretty working.