thanks!
all good now.
I hadn't noticed that the header.tpl template had been changed here:
https://github.com/NodeBB/nodebb-theme-persona/commit/90a1ba1eb1f5377c45c44656d3172389656c5a90
Hello,
As anyone else experienced the {post.content} parsing outside of its designated position in the html structure?
I've checked other default themes and its the same on these too.
This is the issue: https://saesrpg.uk/topic/602/arms-assassins/9
If you inspect the html, you can see that the images are parsed outside the content div for some reason and I can't pin it down. I've noticed this happen when people also copy/paste an bulletpoint in a post rather than use an asterisk.
Other posts/topics have images in fine and work normally. (as you can see in other topics)
Template code where the content is looks like the following:
<div class="content" component="post/content" itemprop="text">
{posts.content}
</div>
However inspecting the html code shows that this isnβt the case for this one post/topic...
Can you recommend anything for me to check this out (in the parser for example)?
P.S. HTML posting is disabled.
You can try this, create a file called query.js
in your nodebb root folder with the below content.
var content = `
// paste fixed post content here
`;
db.objects.update({_key: "post:4090"}, {$set: {content: content}});
Then execute it from the CLI with mongo localhost:27010/<replace_with_your_db_name> query.js
This should replace the content of that post, keep in mind post content is cached so you will have to restart your nodebb after doing this to see the updated content.