Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
3 answers
151 views

Recently I had the pleasure to review a few specification documents edited in MS Word, containing around 1000 tables and figures, each of those with a caption that did not separate caption label and ...
1 vote
1 answer
186 views

I am running my cypress test and I am trying to assert this, but the test is failing because of the HTML Non-breaking spaces cy.get('h3').should('contain.text', `Allocations for ${name}, ${role}`); ...
0 votes
0 answers
70 views

My question is related to this post : How to render narrow non-breaking spaces in HTML for Windows? According to a 2021 addendum, the NNBSP character should be correctly rendered in "all major ...
16 votes
2 answers
5k views

This is my code import java.util.Date; import java.text.DateFormat; class DateTime { public static void main(String[] args) { String dt = DateFormat.getDateTimeInstance().format(new Date()...
1 vote
1 answer
211 views

I inherited Word VBA code that inserts an auto-numbered caption for a table or figure, e.g. Table 1. I want there to be a non-breaking space between the label, e.g. Table, and the number, but I ...
1 vote
3 answers
439 views

Suppose I have a string in R, mystring = 'help me' but with a twist: The space between 'help' and 'me' is actually a non-breaking space. Non-breaking space is stored in R as <c2 a0>, so this ...
1 vote
2 answers
72 views

I would like to replace a space after a number with hard-space " " only in p tags. I wrote this code: $pattern = "/<p>[0-9] <\/p>/"; return preg_replace($pattern, ...
0 votes
0 answers
63 views

I've replaced all white spaces with non-breaking space in categories with the jquery below. However, it doesn't seem to work for categories found in blog pages. I did a site inspect and found that the ...
0 votes
3 answers
1k views

I'm new to Cypress and I need to compare theese two numbers: 1045,92 and 1045,92 <div class="header-icon__text" data-pl-cart-in- total>1&nbsp;045,92&nbsp;р.</div> <...
1 vote
1 answer
798 views

I want to clean up files that contain bad formatting, more precisely, replace "normal" spaces with non-breaking spaces according to a given criterion. For example: If in a sentence, I have: &...
1 vote
3 answers
3k views

Just come across an interesting issue where PQ isn't transforming seemingly identical data in the same way. As an example here I just wish to replace 24 mg/kg bw/day with Hello: let Source = Excel....
4 votes
1 answer
8k views

I'm trying to match a phone number string that includes a non-breaking space: assert .dom( screen.getByText( [my text with a non-breaking space] ) as HTMLElement ) .exists();...
2 votes
0 answers
221 views

I am working with a website that has its origins back in 2001. In those days tables were heavily used for layouts, and Internet Explorer was a dominant browser. Back then there was a requirement to ...
0 votes
3 answers
3k views

Im struggling with a mail html to text flow. It works fine normally, but all of a sudden it is inserting a "\n" that shouldnt be there and comparing the &nbsp to the other lines where it ...
1 vote
1 answer
959 views

Say I have a string variable, " Fruit". Usually, I use strtrim() to remove the leading whitespace. Therefore, " Fruit" becomes "Fruit". However, if the leading whitespace ...

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /