vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   custom BB code doesn't get the letter case of the tag right (https://vborg.vbsupport.ru/showthread.php?t=325732)

dimitrisvb 11-01-2017 05:59 PM

custom BB code doesn't get the letter case of the tag right
 
I have some custom BB code where the tag is the greek letter delta: δ

Only, when i click on the button, the capital letter delta (Δ) is inserted instead.

On top of that, the tag will only work with the lower case δ

a) Is there a way that the lower case letter gets inserted?

b) Is there a way to have both δ and Δ work for this code?

thanks

TheLastSuperman 11-01-2017 10:18 PM

Well good sir, an example of your bbcode "code" would help us, help you ;).

Off the bat though, I'd suggest two individual bbcodes but then you would have two different buttons in the editor (if adding in custom bbcode button) otherwise it should be fine having two different bbcodes, make one tag slightly different and call it a day :cool:.

dimitrisvb 11-02-2017 06:19 AM

here's the code:
Code:

<span style="text-decoration: line-through;">κείμενο</span>
the thing is, why does it change my tag from δ to Δ when i will treat them then differently, like different tags.

:/

dimitrisvb 11-08-2017 05:11 PM

anyone?


All times are GMT. The time now is 12:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01027 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete