File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/java/com/condation/cms/modules/autolinks/extensions Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
<groupId >com.condation.cms.modules</groupId >
6
6
<artifactId >autolinks-module</artifactId >
7
- <version >1.0.0 </version >
7
+ <version >1.0.1 </version >
8
8
<packaging >jar</packaging >
9
9
<properties >
10
10
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ public void register(HookSystem hookSystem) {
48
48
}
49
49
50
50
private String filterContent (FilterContext <String > context ) {
51
+ if (!getRequestContext ().has (CurrentNodeFeature .class )) {
52
+ return context .value ();
53
+ }
51
54
var currentNode = getRequestContext ().get (CurrentNodeFeature .class ).node ();
52
55
if (currentNode .getMetaValue ("autolinks.disabled" , false )) {
53
56
return context .value ();
You can’t perform that action at this time.
0 commit comments