Score:0

View injecting weird html elements (b element)

in flag

I've noticed recently that, in a drupal website I'm maintaining, a view displaying a list of content type called Event, has some weird html elements injected. This messed up the layout and I'm not sure what caused it.

The element injected is <b data-stringify-type="bold">, which is placed inside the views-row element.

I'm wondering, is someone of you already encountered this? I haven't found a way to debug it.

cn flag
Things you can check: whether there are any Views theme templates affecting the view, the formatting settings for the field in the view, the field settings for the field of the content type being displayed in the view, and the input filter settings for that field.
No Sssweat avatar
ua flag
That is not part of core. So it's either custom code or contrib module. Might be getting added via template file, or preprocess hook, or javascript. The fastest way to find it would be perform a search in your Drupal code base for a particular string, using a command line tool like grep. `grep -r "data-stringify-type"`.
in flag
I've tried both methods, but that particular string is not found anywhere.
in flag
I've also tried to update modules that needed to be updated, but the issue remains.
No Sssweat avatar
ua flag
@DamianFox ok, try grep searching for just `"stringify"`. If still nothing, try checking the view's field settings, and see if there is anything in the re-write results [override field](https://i.stack.imgur.com/ORNtB.png)
in flag
What about a browser plugin?
in flag
@NoSssweat I've tried `"stringify"` and I got no results. Also, the view's field settings didn't give any results. I had to adjust the styling in order to hide the issue from the web page. When I find a solution, I'll post it here.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.