On 04/19/2021, at 08:13, jj <[email protected] <mailto:[email protected]>> wrote: > Here is a BBEdit Text Filter in PHP that capitalizes the text of hyperlinks.
Hey JJ, Your script is failing when encountering punctuation: Original: <a href="link1">1. THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT</a> <a href="link2">2. PERMISSION IS GRANTED TO ANYONE TO USE THIS</a> ... <a href="link20">20. REDISTRIBUTIONS OF SOURCE CODE (IN WHOLE OR</a> ... <a href="link35">35. REDISTRIBUTIONS IN BINARY FORM (COMPILED</a> ... <a href="link67">67. ALTERED VERSIONS: INCLUDING, BUT NOT LIMITED TO</a> Desired: <a href="link1">1. This Software Is Provided "As Is", Without</a> <a href="link2">2. Permission Is Granted To Anyone To Use This</a> ... <a href="link20">20. Redistributions Of Source Code (In Whole Or</a> ... <a href="link35">35. Redistributions In Binary Form (Compiled</a> ... <a href="link67">67. Altered Versions: Including, But Not Limited To</a> JJ's Script: <a href="link1">1. This Software Is Provided "as Is", Without</a> <a href="link2">2. Permission Is Granted To Anyone To Use This</a> ... <a href="link20">20. Redistributions Of Source Code (in Whole Or</a> ... <a href="link35">35. Redistributions In Binary Form (compiled</a> ... <a href="link67">67. Altered Versions: Including, But Not Limited To</a> -- Best Regards, Chris -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/629CC4D4-C4A3-4E5E-842B-79866BB25F6A%40gmail.com.
