peelonet / tempearly

Minimal scripting language / templating engine.
2 stars 0 forks source link

URL class and escaping methods #81

Closed RauliL closed 9 years ago

RauliL commented 9 years ago
  1. Adds an Url class which is (currently stub) object representation of an URL. Also moves URL decoding utility method from Utils class to the new Url class in an attempt to make Utils class slowly obsolete.
  2. Move XML and JSON escaping methods from Utils class to String class which in my opinion is the most logical place for them. Also renames JSON escaping method to EscapeJavaScript.
RauliL commented 9 years ago

Url class is backported from peelo-cpp project. It currently lacks parsing routine.