Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua/orgmode/capture/template/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ end
---@return OrgPromise<string | nil>
function Template:_compile(content, content_type)
content = self:_compile_dates(content)
content = self:_compile_expressions(content)
if self._compile_hooks then
for _, hook in ipairs(self._compile_hooks) do
content = hook(content, content_type) --[[@as string]]
Expand All @@ -267,6 +266,7 @@ function Template:_compile(content, content_type)
if not cnt then
return nil
end
cnt = self:_compile_expressions(cnt)
return self:_compile_prompts(cnt)
end)
end)
Expand Down
Loading