[Bug] Indentations aren't minified.
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 577
- PR merge metrics
- No merged PRs in 30d
Description
With the defaults enabled, the undermentioned: [^1]
[^1]: [`mysociety/alaveteli/issues/8958#issue-3566436614`](https://github.com/mysociety/alaveteli/issues/8958#issue-3566436614)
~~~HTML
Your WhatDoTheyKnow email alert
body { font-size: 16px; word-break: break-word; white-space: pre-wrap; }
FOI requests by 'Michal Poreba'
===============================
-- Request for source code that once was public --
Department for Business and Trade sent a response to Michal Poreba (23 September 2025)
"Please find attached our response to your request for an internal review into the handling of (Our ref IR2025/09847). Kind regards, Information Ri..."
https://www.whatdotheyknow.com/request/request_for_source_code_that_onc?nocache=incoming-3164069#incoming-3164069
New updates for the request 'Request for source code that once was public'
==========================================================================
Department for Business and Trade sent a response to Michal Poreba (23 September 2025)
"Please find attached our response to your request for an internal review into the handling of (Our ref IR2025/09847). Kind regards, Information Ri..."
https://www.whatdotheyknow.com/request/request_for_source_code_that_onc?nocache=incoming-3164069#incoming-3164069
-- the WhatDoTheyKnow team
Alter your subscription
=======================
Unsubscribe
===========
--------------------------------------------------------------------------------
WhatDoTheyKnow is a project of mySociety run by a small team of staff and
dedicated volunteers.
mySociety is a charity that believes that information should be accessible to everyone.
If this is important to you, please consider donating to help us do more:
https://www.whatdotheyknow.com/donate
Find out more about how we handle your data at:
https://www.whatdotheyknow.com/help/privacy
mySociety is a registered charity in England and Wales (1076346), and a limited
company (03277032)
<!--banner-info-->
This email was sent to r9ehsdcy@rokejulianlockhart.addy.io (https://www.whatdotheyknow.com/profile/change_email) from do-not-reply-to-this-address@whatdotheyknow.com.
To deactivate this alias copy and paste the url below into your web browser.
https://app.addy.io/deactivate/dcddccf8-c2ee-4335-8d49-cb7519e2aee5?signature=049ed52a069c7ab5b343656bee73a6a40297808161db2bc4e5dc2923dfe102d4
<!--banner-info-->
~~~
...became:
~~~HTML
Your WhatDoTheyKnow email alertbody{font-size:16px;word-break:break-word;white-space:pre-wrap}
FOI requests by 'Michal Poreba'
===============================
-- Request for source code that once was public --
Department for Business and Trade sent a response to Michal Poreba (23 September 2025)
"Please find attached our response to your request for an internal review into the handling of (Our ref IR2025/09847). Kind regards, Information Ri..."
https://www.whatdotheyknow.com/request/request_for_source_code_that_onc?nocache=incoming-3164069#incoming-3164069
New updates for the request 'Request for source code that once was public'
==========================================================================
Department for Business and Trade sent a response to Michal Poreba (23 September 2025)
"Please find attached our response to your request for an internal review into the handling of (Our ref IR2025/09847). Kind regards, Information Ri..."
https://www.whatdotheyknow.com/request/request_for_source_code_that_onc?nocache=incoming-3164069#incoming-3164069
-- the WhatDoTheyKnow team
Alter your subscription
=======================
Unsubscribe
===========
--------------------------------------------------------------------------------
WhatDoTheyKnow is a project of mySociety run by a small team of staff and
dedicated volunteers.
mySociety is a charity that believes that information should be accessible to everyone.
If this is important to you, please consider donating to help us do more:
https://www.whatdotheyknow.com/donate
Find out more about how we handle your data at:
https://www.whatdotheyknow.com/help/privacy
mySociety is a registered charity in England and Wales (1076346), and a limited
company (03277032)
<!--banner-info-->
This email was sent to r9ehsdcy@rokejulianlockhart.addy.io (https://www.whatdotheyknow.com/profile/change_email) from do-not-reply-to-this-address@whatdotheyknow.com.
To deactivate this alias copy and paste the url below into your web browser.
https://app.addy.io/deactivate/dcddccf8-c2ee-4335-8d49-cb7519e2aee5?signature=049ed52a069c7ab5b343656bee73a6a40297808161db2bc4e5dc2923dfe102d4
<!--banner-info-->
~~~
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Reproduce the reported before-and-after HTML with default options, then locate the JavaScript entry point that handles indentation and whitespace; done means indentation is removed while the embedded iframe and srcdoc content remain valid and match the expected minified output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100