Pycharm html indentation

html, pycharm

Solution

You may want to look under `Settings -> Project Settings -> Code Style -> HTML`. There, in Other tab you'll find a setting called Do not indent children of:

I think that's what you need.

Problem

I'm not very pleased with the Pycharm auto-indentation when it comes to html-files. Is there a way to configure so that it follows html-standards? Because as it is now tags inside `<html>`, `<head>`, `<body>` and a few more are not indented. Suggestions?

Original source