Rework BBCode::convertShare to accept a callback function
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 17 Oct 2018 05:13:18 +0000 (01:13 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Wed, 17 Oct 2018 05:13:18 +0000 (01:13 -0400)
commit9239ecc5e0207eb5e62bea36f6ee200e4581932c
tree159704ef7a6c7038034ab088e02fada4da4c2b66
parent45748da8a1d0580e5f1cd81c34ec3b807ed8ea3b
Rework BBCode::convertShare to accept a callback function

- Create default convertShare callback from previous code
- Remove $simplehtml = 8 case (moved to Twitter addon)
src/Content/Text/BBCode.php