comparison src/thread.html.luan @ 44:96f0c3d65698

add /bbcode
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Nov 2022 23:18:58 -0700
parents 0c1b820fff34
children 289718f121e4
comparison
equal deleted inserted replaced
43:298c71e0c854 44:96f0c3d65698
15 local show_post = Shared.show_post or error() 15 local show_post = Shared.show_post or error()
16 local Forum = require "site:/lib/Forum.luan" 16 local Forum = require "site:/lib/Forum.luan"
17 local forum_title = Forum.title or error() 17 local forum_title = Forum.title or error()
18 local Db = require "site:/lib/Db.luan" 18 local Db = require "site:/lib/Db.luan"
19 local Post = require "site:/lib/Post.luan" 19 local Post = require "site:/lib/Post.luan"
20 local Bbcode = require "site:/lib/Bbcode.luan"
21 local bbcode_to_html = Bbcode.to_html or error()
22 local User = require "site:/lib/User.luan" 20 local User = require "site:/lib/User.luan"
23 21
24 22
25 return function() 23 return function()
26 local root_id = Http.request.parameters.root or error() 24 local root_id = Http.request.parameters.root or error()