Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
There is something wrong with new lines while browsing with Firefox https://prnt.sc/ghte0z
-
erik40415837yNice!! I am currently developing a generic XML parser so I now have some interesting content to test with! Thanks!
-
olezhka25727y@jegsr @gitpush @gitpull thanks guys!! Any comments are welcome - it's all for the community to use... :)
-
@olezhka Thanks, it does seem to be fixed. I'm curious how did you manage it? I was checking with inspector and it didn't show any padding, margins or otherwise that would indicate any padding/new lines. I remember that Firefox had some weird take on new line, treating it as separate DOM nodes or sth like that.
I have also noticed that initially those new lines are still present, but soon after they are gone, so I'm assuming you are deleting something? Maybe those new lines in HTML source?
God, I'm so happy I don't do frontend anymore. :D -
olezhka25727y@paziek Haha I feel you. :D
Well it's a weird combination of indented span and div elements coupled with PrismJS highlighting code... after PrismJS did its thing those spacings appeared, which were empty spans which had height > 0 for some reason.
Anyways those spans appeared as a result of PrismJS transformation and were actually in place of original DIV elements (so, my initial divs got transformed to spans)
In the moment of desperation I changed my initial divs to spans and this went away.
Voodoo, I tells ya. -
ChappIO46937y@olezhka oh not at all! Jsrant has no other purpose to just be a funny tool for the community. You own it just as much as I do.
Related Rants
Ok peeps, this is it!
I have completed my contribution to community projects! Wanted to share with you guys...
I was so impressed/inspired with @ChappIO 's www.jsRant.com project that I wanted to create something similar.
So I created an XML stylized stream of rants, in dark theme.
It also reflects how I feel as software developer with my current knowledge - kinda derelict old school!
The underlying tech is Asp.net core 1.1, using my own .net core API wrapper.
So, here it is:
Http://xmlRant.com
undefined
jsrant
xmlrant
.net core
community project