Elgg/Elgg — pull request #420 by Srokap (2012-11-04 07:32:57+00:00)
Title: Fixes #1479 - Replaces WP autop with implementation from Steve Clay.

Ported for Elgg with files from:
http://code.google.com/p/mrclay/source/browse/trunk/php/MrClay/AutoP.php
http://code.google.com/p/mrclay/source/browse/trunk/tests/php/MrClay/AutoPTest.php

Credits to @mrclay I only ported existing solution and unit tests + some additional integration.