File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,10 @@ public function contentURL($matches) {
8484 $ internal = $ this ->isInternalLink ($ matches [0 ]);
8585
8686 // Exceptions by tag and internal/external URL's
87- if ((isset ($ tag ) && 'a ' == $ tag && $ internal && !$ this ->plugin ->enabled ('FORCE_HTTPS_INTERNAL_LINKS ' )) || // Prevent internal links to be altered
88- ((!isset ($ tag ) || 'a ' != $ tag ) && $ internal && !$ this ->plugin ->enabled ('FORCE_HTTPS_INTERNAL_RESOURCES ' )) || // Prevent internal resources to be altered
89- (isset ($ tag ) && 'a ' == $ tag && !$ internal && !$ this ->plugin ->enabled ('FORCE_HTTPS_EXTERNAL_LINKS ' , false )) || // Prevent external links to be altered
90- ((!isset ($ tag ) || 'a ' != $ tag ) && !$ internal && !$ this ->plugin ->enabled ('FORCE_HTTPS_EXTERNAL_RESOURCES ' ))) { // Prevent external resources to be altered
87+ if ((isset ($ tag ) && 'a ' == $ tag && $ internal && !$ this ->plugin ->enabled ('FORCE_HTTPS_INTERNAL_LINKS ' )) || // prevent internal links to be altered
88+ ((!isset ($ tag ) || 'a ' != $ tag ) && $ internal && !$ this ->plugin ->enabled ('FORCE_HTTPS_INTERNAL_RESOURCES ' )) || // prevent internal resources to be altered
89+ (isset ($ tag ) && 'a ' == $ tag && !$ internal && !$ this ->plugin ->enabled ('FORCE_HTTPS_EXTERNAL_LINKS ' , false )) || // prevent external links to be altered
90+ ((!isset ($ tag ) || 'a ' != $ tag ) && !$ internal && !$ this ->plugin ->enabled ('FORCE_HTTPS_EXTERNAL_RESOURCES ' ))) { // prevent external resources to be altered
9191
9292 // Original URL
9393 return $ matches [0 ];
You can’t perform that action at this time.
0 commit comments