To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Verified Commit a90873ca authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix joboffers markdown rendering of titles

parent 06892f2c
......@@ -33,6 +33,6 @@ export default class Joboffer {
this[`description_${currentLanguage()}`] || this[`description_${otherLanguage}`];
// Use regex to substitute headers in description with h3 headers
const regex = /(#+\s+)(\w+)/g;
return description.replace(regex, (match, p1, p2) => `### ${p2.toLowerCase()}`);
return description.replace(regex, (match, p1, p2) => `### ${p2}`);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment