cobrateam / cobrateam/django-htmlmin

White spaces between <a> tags not being removed

Open
#82 4 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Python
Stars
542
Forks
72
PR merge metrics
No merged PRs in 30d

Description

I have found that when I write something like this:

```



Something


Something


```

The result is:

```

Something Something

```

Instead of:

```

SomethingSomething

```

as I expected.

Is there any reason for this? Or it's a bug?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported input in the issue and compare the current output with the expected output. Trace the HTML minification path that handles whitespace between adjacent tags, then verify that the separator is removed without changing other whitespace behavior. Done means the example produces the expected compact HTML.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.