question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expected Behavior

Not to add a space in @lang('torrent.stream-optimized')

Current Behavior

                            @if ($torrent->stream == 1)
                                <span class='badge-extra text-bold'>
                                    <i class='{{ config('other.font-awesome') }} fa-play text-red' data-toggle='tooltip'
-                                        title='' data-original-title='@lang('torrent.stream-optimized')'></i>
+                                        title='' data-original-title='@lang(' torrent.stream-optimized')'></i>
                                </span>
                            @endif

Possible Solution

No Idea.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
HDVinniecommented, Jul 20, 2020

Sounds good Ill work on refactoring all my views and then run formatter again.

1reaction
shufocommented, Jul 20, 2020

@HDVinnie uh sorry I’ve missing tags.

Could you replace single quote with double quote for HTML attributes?

This will generate constant results.

                    <span class="badge-extra text-bold">
                        <i class="{{ config('other.font-awesome') }} fa-play text-red" data-toggle="tooltip" title=""
                            data-original-title="@lang('torrent.stream-optimized')"></i>
                    </span>

mixing single quote in html with single quote in PHP will produces unexpected behaviour.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · dart-lang/language - GitHub
Issues list ; Completer.complete() pass Future type, immediately isCompleted = true. · #2743 opened · takapiroid88 ; Inline getters (and possibly setters) ·...
Read more >
This issue can't be displayed right now - - ASF JIRA
LANG -959FieldUtils write methods do not write to final fields. Improvement. LANG-1602Deprecate duplicate functionality with other Apache Commons components.
Read more >
lang() - CSS: Cascading Style Sheets - MDN Web Docs
The :lang() CSS pseudo-class matches elements based on the language they are determined to be in. Try it. CSS Demo: :lang(). Reset. HTML...
Read more >
How to fix URLs with HTML lang attribute invalid - Sitechecker
HTML lang attribute invalid issue means that URLs where the language (or language-location) code declared in the HTML lang tag () is invalid ......
Read more >
Why use the language attribute? - W3C
The lang (or sometimes the xml:lang ) attribute specifies the natural language of the content of a web page. An attribute on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found