use strip() and lstrip() to modify fetch input and output html content rule