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 44
55 <groupId >com.condation.cms.modules</groupId >
66 <artifactId >autolinks-module</artifactId >
7- <version >1.0.0 </version >
7+ <version >1.0.1 </version >
88 <packaging >jar</packaging >
99 <properties >
1010 <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) {
4848 }
4949
5050 private String filterContent (FilterContext <String > context ) {
51+ if (!getRequestContext ().has (CurrentNodeFeature .class )) {
52+ return context .value ();
53+ }
5154 var currentNode = getRequestContext ().get (CurrentNodeFeature .class ).node ();
5255 if (currentNode .getMetaValue ("autolinks.disabled" , false )) {
5356 return context .value ();
You can’t perform that action at this time.
0 commit comments