[tw5] Re: Doubled Single Quotes Behavior in text/vnd.tiddlywiki format - do these need to be escaped or is it a bug?

2019-08-14 Thread Cade Roux
I have decided to go ahead and use the backticks around it and (also to be 
careful when that text is empty to not put two consecutive backticks).

I'm changing up the markup to generally use TW for now and potentially move 
to XML in front of that with an XSLT to transform to TW or other targets 
depending on how the prototype is received.

Thanks,

Cade

On Wednesday, August 14, 2019 at 4:24:17 PM UTC-5, PMario wrote:
>
> Hi, 
>
> If you want to disable some wikitext rules you can put the 
>
> \rules except bold 
>
> pragma  at the very beginning of the 
> tiddler. So double single quotes will no longer start a "bold" text 
> section. 
>
> hope that helps
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/664b0249-42c8-41cf-8dd9-5a14338ad27d%40googlegroups.com.


[tw5] Re: Doubled Single Quotes Behavior in text/vnd.tiddlywiki format - do these need to be escaped or is it a bug?

2019-08-14 Thread PMario
Hi, 

If you want to disable some wikitext rules you can put the 

\rules except bold 

pragma  at the very beginning of the 
tiddler. So double single quotes will no longer start a "bold" text 
section. 

hope that helps
-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e59c03be-d4c0-47ff-98a0-49de9bec0947%40googlegroups.com.


[tw5] Re: Doubled Single Quotes Behavior in text/vnd.tiddlywiki format - do these need to be escaped or is it a bug?

2019-08-13 Thread Cade Roux
It's a code sample and it's an empty string.

As an example, the actual code in that cell is:

EXEC Doc.UpdateXP @obj = '[Config].[ConfigName]', @name = 'MS_Description', 
@value = '';

It's an output of my build process that highlights database artifacts 
without metadata and that is the code to add the missing metadata.

I guess I should look at the code backticks.  If I put the code backticks 
around it, can there be back to back ' embedded in the code?

Thanks,

Cade

On Tuesday, August 13, 2019 at 6:57:38 PM UTC-5, Mark S. wrote:
>
> Double single quotes begin *bold*. 
>
> https://tiddlywiki.com/prerelease/#Formatting%20in%20WikiText
>
> You could switch the tiddler to HTML mode, if you're not going to use any 
> TW features.
>
> Perhaps you could explain why you need double single quotes?
>
> On Tuesday, August 13, 2019 at 4:47:08 PM UTC-7, Cade Roux wrote:
>>
>> I have this in a Tiddler and I was wondering if this is a bug or 
>> intentional?
>>
>> 
>> Empty Single Quotes: ''
>> Single Quotes With a Space: ' '
>> 
>>
>> I fixed it with:
>>
>> 
>> Empty Single Quotes: 
>> Single Quotes With a Space:  
>> 
>>
>> Thanks in advance,
>>
>> Cade
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a12ac204-a73a-4a8d-a341-785e1c86a433%40googlegroups.com.


[tw5] Re: Doubled Single Quotes Behavior in text/vnd.tiddlywiki format - do these need to be escaped or is it a bug?

2019-08-13 Thread Eric Shulman
On Tuesday, August 13, 2019 at 4:47:08 PM UTC-7, Cade Roux wrote:
>
> I have this in a Tiddler and I was wondering if this is a bug or 
> intentional?
> 
> Empty Single Quotes: ''
> Single Quotes With a Space: ' '
> 
>

Two single-quotes in a row is a wikitext formatting syntax indicating the 
*start* of bold text.  Thus, you have started a section of bold text, but 
did not *end* it.   As a result, everything that follows is being parsed as 
a mal-formed HTML table.

To work around it, you only need to change *one* of the quotes in the first 
set of single quotes to  ... and you don't need to do anything with 
the second, as it doesn't trigger the bold formatting.

Like this:

Empty Single Quotes: '
Single Quotes With a Space: ' '




see https://tiddlywiki.com/#Formatting%20in%20WikiText

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f7bfd706-c93f-47d9-8549-3200dad4da72%40googlegroups.com.


[tw5] Re: Doubled Single Quotes Behavior in text/vnd.tiddlywiki format - do these need to be escaped or is it a bug?

2019-08-13 Thread Mat
Yes, I'd say it's intentional. Double single quotes is for making bold text 
and the overlapping scopes of this vs the td/tr causes the problem.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86296183-7aab-45b4-9caf-20b30b3dd055%40googlegroups.com.


[tw5] Re: Doubled Single Quotes Behavior in text/vnd.tiddlywiki format - do these need to be escaped or is it a bug?

2019-08-13 Thread 'Mark S.' via TiddlyWiki
Double single quotes begin *bold*. 

https://tiddlywiki.com/prerelease/#Formatting%20in%20WikiText

You could switch the tiddler to HTML mode, if you're not going to use any 
TW features.

Perhaps you could explain why you need double single quotes?

On Tuesday, August 13, 2019 at 4:47:08 PM UTC-7, Cade Roux wrote:
>
> I have this in a Tiddler and I was wondering if this is a bug or 
> intentional?
>
> 
> Empty Single Quotes: ''
> Single Quotes With a Space: ' '
> 
>
> I fixed it with:
>
> 
> Empty Single Quotes: ''
> Single Quotes With a Space: ' '
> 
>
> Thanks in advance,
>
> Cade
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1ad75268-390e-4df8-a24a-274400658b02%40googlegroups.com.