Browse Source

Added missing interface for preview generation to page_wrapped

master
Dirk Alders 2 months ago
parent
commit
42b03d821e
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      pages/page.py

+ 5
- 0
pages/page.py View File

@@ -409,6 +409,11 @@ class page_wrapped(object):
409 409
         rv = page.render_to_html()
410 410
         return rv
411 411
 
412
+    def render_text(self, request, txt):
413
+        page = self.__page_choose__()
414
+        rv = page.render_text(request, txt)
415
+        return rv
416
+
412 417
     @property
413 418
     def title(self):
414 419
         page = self.__page_choose__()

Loading…
Cancel
Save