http://www.question2answer.org/qa/8364/how-to-remove-nofollow-for-links-to-own-website
Although if you want to remove it from all links (bad idea IMO because it may encourage spam) then you could replace preg_replace with str_replace('rel="nofollow"', '', $str );
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.