markjaquith / WordPress-Plugin-Readme-Parser

42 stars 23 forks source link

markdown library not compatible with WP repo? #2

Closed swergroup closed 11 years ago

swergroup commented 11 years ago

Hi Mark! We had an issue including this parser in a plugin we're submitting to the WordPress repository, because of this code section in the markdown library (137:139):

$mdwp_placeholders = explode(' ', str_rot13(
     'pEj07ZbbBZ U1kqgh4w4p pre2zmeN6K QTi31t9pre ol0MP1jzJR '.
     'ML5IjmbRol ulANi1NsGY J7zRLJqPul liA8ctl16T K9nhooUHli'));

It appears to be a third-party library, so I thought you'd like to know about this issue. Thank you for your code anyway!

markjaquith commented 11 years ago

Hm. Probably because it looks like suspicious obfuscation. Maybe just edit it to include the output of that str_rot13 call:

cRw07MooOM H1xdtu4j4c cer2mzrA6X DGv31g9cer by0ZC1wmWE ZY5VwzoEby hyNAv1AfTL W7mEYWdChy yvN8pgy16G X9aubbHUyv